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>
This commit is contained in:
Alexander Shiyan 2014-04-25 23:45:05 -07:00 • committed by Dmitry Torokhov
commit c95dc0114b
2 changed files with 13 additions and 16 deletions