# \[PATCH v2 2/3\] keyboard: imx\_keypad: Adapt the new kpp clock name

- From: Fabio Estevam \<hidden\>
- Date: 2012-07-06 17:42:02 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/07/8919854
- Thread: https://ratatoskr.run/linux-input/2012/07/8919855/t.md

```text
With the new i.mx clock framework we should pass NULL as the keypad clock name.

Signed-off-by: Fabio Estevam <redacted>
---
 drivers/input/keyboard/imx_keypad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c
index 9d57945..4830615 100644
--- a/drivers/input/keyboard/imx_keypad.c
+++ b/drivers/input/keyboard/imx_keypad.c
@@ -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);
-- 
1.7.1


```
