aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:11:06 +0000
committerAndy Green <andy@openmoko.com>2008-11-19 17:11:06 +0000
commitc727e99d84972bd03f62de99acffcfc4e13952b9 (patch)
treed1dc77662d0aaed2e0dae2069af4616b6200eec3 /drivers/input
parentb91816b191d15f722c3422a9e7c17cdf5ee76007 (diff)
tracking-2.6.28-device_create_drvdata-gone.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/input')
-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);