diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-09-20 00:17:29 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | f1a97e0b78e378f43660930474113387a2af2aa3 (patch) | |
tree | 3b8f40dedd316c37922b000b3b65f73f79cb03a7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fbed20280d912449cfb40c382cb55e3d11502587 (diff) | |
download | linux-f1a97e0b78e378f43660930474113387a2af2aa3.tar.gz linux-f1a97e0b78e378f43660930474113387a2af2aa3.tar.bz2 linux-f1a97e0b78e378f43660930474113387a2af2aa3.zip |
mtd: rawnand: 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.
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 <jmkrzyszt@gmail.com>
Acked-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions