[PATCH 09/10] input: enable touch on 88pm860x
Dmitry Torokhov
dmitry.torokhov at gmail.com
Wed Nov 18 00:16:47 EST 2009
On Tue, Nov 17, 2009 at 01:27:42AM -0500, Haojian Zhuang wrote:
>
> Up to now, I don't support module yet. When each component of this
> PMIC is ready, I'll enable module.
>
I would do it rather sooner than later - then you'd notice that you are
not freeing IRQ in pm860x_touch_remove() when you'd try to reload your
module.
> +
> +static int __devexit pm860x_touch_remove(struct platform_device *pdev)
> +{
> + struct pm860x_touch *touch = platform_get_drvdata(pdev);
> +
> + input_unregister_device(touch->idev);
> + return 0;
> +}
> +
--
Dmitry
More information about the linux-arm-kernel
mailing list