Re: [PATCH] ACPI: New driver for Lenovo SL laptops

Dmitry Torokhov
2009-09-25T04:34:44Z

On Thu, Sep 24, 2009 at 11:12:43PM +0800, Ike Panhc wrote:
> +
> +static void hkey_inputdev_exit(void)
> +{
> + if (hkey_inputdev) {
> + input_unregister_device(hkey_inputdev);
> + input_free_device(hkey_inputdev);

input_free_device() should not be called after input_unregister_device().

--
Dmitry