]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: gpio_keys - convert to use devm_*
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Apr 2014 21:21:59 +0000 (14:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Apr 2014 05:07:34 +0000 (22:07 -0700)
commita2acc8542828d29473b5590243698a95c36e0e28
treeca44275f69e4f1c46d561b3f3e21de27f0c2dcb3
parent37e62d20f6c478919c88a543bce5aa293102e03c
Input: gpio_keys - convert to use devm_*

This makes the error handling much more simpler than open-coding everything
and in addition makes the probe function smaller an tidier.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/gpio_keys.c