]> git.baikalelectronics.ru Git - kernel.git/commit
Input: max7359 - introduce the use of managed interfaces
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 19 Jul 2014 23:16:02 +0000 (16:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 20 Jul 2014 20:17:00 +0000 (13:17 -0700)
commit2b437fc54f3587dd655b2b747a94b25686df8151
tree0c0d3545c66b324be249b4fbb69dedc1d5fc68ea
parent9689031bdab28e4e0aa0b5ddd3b54285122c388b
Input: max7359 - introduce the use of managed interfaces

This patch introduces the use of managed interfaces like devm_kzalloc,
devm_input_allocate_device, devm_request_threaded_irq etc. and does away
with the calls to free the allocated memory. The remove function is no
longer required and is completely done away with. Also, the labels in the
probe function are removed.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/max7359_keypad.c