]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP: Kill compile warnings
authorFelipe Balbi <felipe.lima@indt.org.br>
Tue, 5 Jun 2007 10:10:39 +0000 (03:10 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 5 Jun 2007 10:10:39 +0000 (03:10 -0700)
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 <dirk.behme@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/input/keyboard/omap-twl4030keypad.c

index b96e84f5f14c2d3de2d8a5286105994fa757f522..4750dba2364f9415661d3574a027d1dd3afced3a 100644 (file)
@@ -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");