Input: tsc2005 - convert to gpiod
authorSebastian Reichel <sre@kernel.org>
Tue, 28 Jul 2015 00:28:58 +0000 (17:28 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Jul 2015 05:28:19 +0000 (22:28 -0700)
commitd257f2980feb431ac7f0ffa1978fb694f56c7782
treee47cd4fe4a7d81d342291796ad5356cd6790cdce
parent80b46aa69e543939e39eca5ae96fe508a1da2230
Input: tsc2005 - convert to gpiod

The GPIOD API can be used from boardcode, so that the DT check can be
removed. To avoid breaking existing boardcode, _optional() variant has been
chosen. For completely removing the DT check, the regulator has also been
made optional, so that it could be supplied from boardcode.

As a side-effect the patch fixes the after-probe reset GPIO state, so that
the device is not kept in reset state.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/tsc2005.c