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>
Wed, 14 May 2014 23:39:48 +0000 (16:39 -0700)
commit5d422f2e78e19842a35044a1e77bd758d3127a81
tree0b4dacab982923335e99d1448cd132c2c926ff5f
parent1f9e1470ab34fe7e523014ae30dd3b2e65177ae4
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