Commit a40ec72d authored by Fabio Estevam's avatar Fabio Estevam Committed by Dmitry Torokhov

Input: imx_keypad - adapt the new kpp clock name

With the new i.mx clock framework we should pass NULL as the keypad
clock name.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent a1e636e6
...@@ -467,7 +467,7 @@ static int __devinit imx_keypad_probe(struct platform_device *pdev) ...@@ -467,7 +467,7 @@ static int __devinit imx_keypad_probe(struct platform_device *pdev)
goto failed_free_priv; goto failed_free_priv;
} }
keypad->clk = clk_get(&pdev->dev, "kpp"); keypad->clk = clk_get(&pdev->dev, NULL);
if (IS_ERR(keypad->clk)) { if (IS_ERR(keypad->clk)) {
dev_err(&pdev->dev, "failed to get keypad clock\n"); dev_err(&pdev->dev, "failed to get keypad clock\n");
error = PTR_ERR(keypad->clk); error = PTR_ERR(keypad->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