diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-06-22 00:41:22 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-07-02 05:29:54 -0700 |
commit | 2bcb1be0923700deee554120304777cad465b5bc (patch) | |
tree | dc6e1946d56b79be2fbb099d761b1fb69a1378f4 /fs/file.c | |
parent | 56de7570b3264fdd920f74bda5cf334b82f4c1f9 (diff) |
Input: ams_delta_serio: Replace power GPIO with regulator
Modify the driver so it no longer requests and manipulates the
"keybrd_pwr" GPIO pin but a "vcc" regulator supply instead.
For this to work with Amstrad Delta, define a regulator over the
"keybrd_pwr" GPIO pin with the "vcc" supply for ams-delta-serio device
and register it from the board file. Both assign an absulute GPIO
number to the soon depreciated .gpio member of the regulator config
structure, and also build and register a GPIO lookup table so it is
ready for use by the regulator driver as soon as its upcoming update
is applied.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions