Commit 8da01378 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

OMAP: Kill compile warnings

Kill warning: twl4030 keypad
struct input_dev has not moved to struct device from class_device. Kill the
re-init till this happens

Acked-by: x0khasim@ti.com
Acked-by: default avatarDirk Behme <dirk.behme@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 09c13e83
......@@ -253,9 +253,6 @@ static int __init omap_kp_probe(struct platform_device *pdev)
omap_twl4030kp->keycodesize = sizeof(unsigned int);
omap_twl4030kp->keycodemax = pdata->keymapsize;
/* Get the debug Device to omap keypad device */
dbg_dev = &(omap_twl4030kp->dev);
ret = input_register_device(omap_twl4030kp);
if (ret < 0) {
dev_err(dbg_dev, "Unable to register twl4030 keypad device\n");
......
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