Input: imx_keypad - adapt the new kpp clock name
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 6 Jul 2012 18:26:37 +0000 (11:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 7 Jul 2012 02:12:35 +0000 (19:12 -0700)
With the new i.mx clock framework we should pass NULL as the keypad
clock name.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/imx_keypad.c

index 9d57945db53dc5e3fed73091147a4197eda1f79c..4830615ed2eca890a47f3aec8c8bd1fd718fbe03 100644 (file)
@@ -467,7 +467,7 @@ static int __devinit imx_keypad_probe(struct platform_device *pdev)
                goto failed_free_priv;
        }
 
-       keypad->clk = clk_get(&pdev->dev, "kpp");
+       keypad->clk = clk_get(&pdev->dev, NULL);
        if (IS_ERR(keypad->clk)) {
                dev_err(&pdev->dev, "failed to get keypad clock\n");
                error = PTR_ERR(keypad->clk);