]> git.baikalelectronics.ru Git - kernel.git/commit
Input: mpu3050 - correct call to input_free_device
authorAxel Lin <axel.lin@gmail.com>
Thu, 11 Aug 2011 16:19:29 +0000 (09:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Aug 2011 16:22:40 +0000 (09:22 -0700)
commit00270cf9c0ee8230b4aa70cd8ebe2ee8661f19d5
tree975cf957f1be913ef9ed673cf362ea800fbf2a14
parentb4a399fa0420a41c31bc216e4a6a50f667f90500
Input: mpu3050 - correct call to input_free_device

input_free_device() should be used if input_register_device() was not called
yet or if it failed.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/mpu3050.c