aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/input/keyboard/neo1973kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/neo1973kbd.c b/drivers/input/keyboard/neo1973kbd.c
index 2262a30859f..dfc0063da69 100644
--- a/drivers/input/keyboard/neo1973kbd.c
+++ b/drivers/input/keyboard/neo1973kbd.c
@@ -256,7 +256,7 @@ static int neo1973kbd_probe(struct platform_device *pdev)
if (rc)
goto out_register;
- neo1973kbd->cdev = device_create_drvdata(neo1973kbd_switch_class,
+ neo1973kbd->cdev = device_create(neo1973kbd_switch_class,
&pdev->dev, 0, neo1973kbd, HEADSET_SWITCH);
if(unlikely(IS_ERR(neo1973kbd->cdev))) {
rc = PTR_ERR(neo1973kbd->cdev);