Input: gpio-beeper - simplify GPIO handling
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 26 Apr 2014 06:45:05 +0000 (23:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:39:51 +0000 (16:39 -0700)
commitc95dc0114bb66c7cbfa91b7bea898e07fcff5157
tree3f82bcea3bfd6adf99c900dfbaec06e0e0122fe7
parent99e8325f55f2dfea32430fd71a546485a2aedbae
Input: gpio-beeper - simplify GPIO handling

This patch simplifies GPIO handling in the driver by using GPIO functions
based on descriptors. As a result this driver now can be used for boards
without DT support.

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