diff options
author | Janusz Krzysztofik <[email protected]> | 2018-10-08 12:57:36 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2018-10-08 12:57:36 +0200 |
commit | 02f17ffd34885ddf5afcab4d5e201b596156f862 (patch) | |
tree | e10b7cbf06487e8447d4b80b45006aa295436568 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e5017716adb8aa5c01c52386c1b7470101ffe9c5 (diff) |
video: fbdev: omapfb: lcd_ams_delta: use GPIO lookup table
Now as Amstrad Delta board - the only user of this driver - provides
GPIO lookup tables, switch from GPIO numbers to GPIO descriptors and
use the table to locate required GPIO pins.
Declare static variables for storing GPIO descriptors and replace
gpio_ function calls with their gpiod_ equivalents. Move GPIO lookup
to the driver probe function so device initialization can be deferred
instead of aborted if a GPIO pin is not yet available.
Pin naming used by the driver should be followed while respective GPIO
lookup table is initialized by a board init code.
Signed-off-by: Janusz Krzysztofik <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Aaro Koskinen <[email protected]>
Cc: Boris Brezillon <[email protected]>
Cc: Miquel Raynal <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: Marek Vasut <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions