lkml.org 
[lkml]   [2009]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ACPI: New driver for Lenovo SL laptops
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


\
 
 \ /
  Last update: 2009-09-25 06:37    [W:0.091 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site