Commit 7faa6dd4 authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Tony Lindgren

CBUS: Fix retu-headset driver by not using removed input_dev->private field

Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 6c6d62c7
...@@ -232,7 +232,6 @@ static int __init retu_headset_probe(struct platform_device *pdev) ...@@ -232,7 +232,6 @@ static int __init retu_headset_probe(struct platform_device *pdev)
} }
hs->idev->name = "retu-headset"; hs->idev->name = "retu-headset";
hs->idev->dev.parent = &pdev->dev; hs->idev->dev.parent = &pdev->dev;
hs->idev->private = hs;
set_bit(EV_KEY, hs->idev->evbit); set_bit(EV_KEY, hs->idev->evbit);
set_bit(RETU_HEADSET_KEY, hs->idev->keybit); set_bit(RETU_HEADSET_KEY, hs->idev->keybit);
r = input_register_device(hs->idev); r = input_register_device(hs->idev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment