Re: [PATCH] CBUS: Fix retu-headset driver by not using removed input_dev->private field

Tony Lindgren
2008-05-06T22:13:28Z

* Jarkko Nikula <jarkko.nikula@nokia.com> [080506 01:33]:
> Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
> ---
> drivers/cbus/retu-headset.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/cbus/retu-headset.c b/drivers/cbus/retu-headset.c
> index f9de5cd..e798bc2 100644
> --- a/drivers/cbus/retu-headset.c
> +++ b/drivers/cbus/retu-headset.c
> @@ -232,7 +232,6 @@ static int __init retu_headset_probe(struct platform_device *pdev)
> }
> hs->idev->name = "retu-headset";
> hs->idev->dev.parent = &pdev->dev;
> - hs->idev->private = hs;
> set_bit(EV_KEY, hs->idev->evbit);
> set_bit(RETU_HEADSET_KEY, hs->idev->keybit);
> r = input_register_device(hs->idev);

Pushing.

Tony