]> 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)
commit6f48792b16d75caf0c43bd9f3efd5169a118e0bc
tree0c0d3545c66b324be249b4fbb69dedc1d5fc68ea
parent010dc50d2680463b7ae55efc22fac4b22a5592b3
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