Commit bb58b3e8 authored by Fabio Estevam's avatar Fabio Estevam Committed by Sascha Hauer

ARM: mx5: Use dummy clock for the keypad

Reuse dummy_clk for the imx-keypad device instead of using a dedicated kpp_clk.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 816ad741
...@@ -867,10 +867,6 @@ static struct clk gpt_32k_clk = { ...@@ -867,10 +867,6 @@ static struct clk gpt_32k_clk = {
.parent = &ckil_clk, .parent = &ckil_clk,
}; };
static struct clk kpp_clk = {
.id = 0,
};
static struct clk dummy_clk = { static struct clk dummy_clk = {
.id = 0, .id = 0,
}; };
...@@ -1302,7 +1298,7 @@ static struct clk_lookup mx51_lookups[] = { ...@@ -1302,7 +1298,7 @@ static struct clk_lookup mx51_lookups[] = {
_REGISTER_CLOCK("mxc-ehci.2", "usb_ahb", usb_ahb_clk) _REGISTER_CLOCK("mxc-ehci.2", "usb_ahb", usb_ahb_clk)
_REGISTER_CLOCK("fsl-usb2-udc", "usb", usboh3_clk) _REGISTER_CLOCK("fsl-usb2-udc", "usb", usboh3_clk)
_REGISTER_CLOCK("fsl-usb2-udc", "usb_ahb", ahb_clk) _REGISTER_CLOCK("fsl-usb2-udc", "usb_ahb", ahb_clk)
_REGISTER_CLOCK("imx-keypad", NULL, kpp_clk) _REGISTER_CLOCK("imx-keypad", NULL, dummy_clk)
_REGISTER_CLOCK("mxc_nand", NULL, nfc_clk) _REGISTER_CLOCK("mxc_nand", NULL, nfc_clk)
_REGISTER_CLOCK("imx-ssi.0", NULL, ssi1_clk) _REGISTER_CLOCK("imx-ssi.0", NULL, ssi1_clk)
_REGISTER_CLOCK("imx-ssi.1", NULL, ssi2_clk) _REGISTER_CLOCK("imx-ssi.1", NULL, ssi2_clk)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment