From 8da01378e90d5a16c95e705d22e2a173f923e658 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Tue, 5 Jun 2007 03:10:39 -0700 Subject: [PATCH] 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: Dirk Behme Signed-off-by: Tony Lindgren --- drivers/input/keyboard/omap-twl4030keypad.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/keyboard/omap-twl4030keypad.c b/drivers/input/keyboard/omap-twl4030keypad.c index b96e84f5f14..4750dba2364 100644 --- a/drivers/input/keyboard/omap-twl4030keypad.c +++ b/drivers/input/keyboard/omap-twl4030keypad.c @@ -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"); -- 2.41.1