diff options
author | Sebastian Reichel <sre@kernel.org> | 2015-07-27 17:28:58 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-27 22:28:19 -0700 |
commit | d257f2980feb431ac7f0ffa1978fb694f56c7782 (patch) | |
tree | e47cd4fe4a7d81d342291796ad5356cd6790cdce /drivers/input/misc/gp2ap002a00f.c | |
parent | 80b46aa69e543939e39eca5ae96fe508a1da2230 (diff) | |
download | linux-d257f2980feb431ac7f0ffa1978fb694f56c7782.tar.bz2 |
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>
Diffstat (limited to 'drivers/input/misc/gp2ap002a00f.c')
0 files changed, 0 insertions, 0 deletions