From: Felipe Balbi Date: Tue, 5 Jun 2007 10:10:39 +0000 (-0700) Subject: OMAP: Kill compile warnings X-Git-Tag: v2.6.22-omap1~68 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8da01378e90d5a16c95e705d22e2a173f923e658;p=linux-2.6-omap-h63xx.git 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 --- 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");