Skip to contentSkip to conversation

OMAP: 2430SDP: Kill warning: twl4030 keypad

PATCH In review nishanth menon 1 participant 1 message May 25, 2007 Input drivers

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 OMAP: 2430SDP: Kill warning: twl4030 keypad

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

---
drivers/input/keyboard/omap-twl4030keypad.c | 3 ---

1 files changed, 0 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/drivers/input/keyboard/omap-twl4030keypad.c
index b96e84f..4750dba 100644

drivers/input/keyboard/omap-twl4030keypad.c +0 -0
@@ -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");
Signature · 1 line
1.5.0.6