mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 02:26:41 +07:00
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: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
a1e636e6d3
commit
a40ec72d54
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user