]> git.baikalelectronics.ru Git - kernel.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>
Wed, 14 May 2014 23:39:48 +0000 (16:39 -0700)
commita1765524526dfbe4519cc9a8a3d65e92b56fc822
tree0b4dacab982923335e99d1448cd132c2c926ff5f
parent4d4aff3a787c27f780f921fed9861ed29ded27ec
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