diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2020-06-03 15:49:18 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-06-26 08:35:09 +0200 |
commit | a50895bbdbd433173c698c4a2321b0f02ff19ba1 (patch) | |
tree | cd21c9f5475fd337c8daf4f95a79ca1c7f9999d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 58c5a0e04dfceb1c64c84553bc909d1aa39a3bd5 (diff) |
mtd: rawnand: fsl_upm: Use gpio descriptors
The integer-based GPIO ids are now deprecated in favor of the GPIO desc
API. The PPC platforms have already been converted to GPIOLIB, so let's
use gpio descs in the NAND driver too.
While at it, we use devm_gpiod_get_index_optional() so we can get rid
of the manual gpio desc release done in the init error path and in the
remove function.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200603134922.1352340-7-boris.brezillon@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions