Input: gpio_keys - more conversions to devm-* API
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 28 Apr 2014 16:52:36 +0000 (09:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:40:02 +0000 (16:40 -0700)
commit27245519f0de50b005323c6cd8560ce77c1b42ae
tree34735e010194bfab302e65ada41004d28189914a
parentf3f6319352f1c27dfecb47a95538ef209820c84f
Input: gpio_keys - more conversions to devm-* API

Replace existing gpio resource handling in the driver with managed
resources, this ensures more consistent error values and simplifies error
paths.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/gpio_keys.c