diff options
author | Russell King <[email protected]> | 2015-10-03 19:13:22 +0100 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-10-09 11:21:16 -0500 |
commit | 8a182c2e4b661ec2a4056c93557258f089f14fe7 (patch) | |
tree | 5b6a4d697170538021a5ddc98ea5d0b3249ca187 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 19fdb80091a8f3c09b7293bb299f6eb46c6ae070 (diff) |
PCI: mvebu: Use gpio_desc to carry around gpio
Use a gpio_desc to carry around the gpio, so we can then make use of the
GPIOF_ACTIVE_LOW property rather than carrying that around as well. This
also avoids needing to use gpio_is_valid() to check whether we have a GPIO;
checking for a non-NULL descriptor is simpler.
Tested-by: Willy Tarreau <[email protected]> (Iomega iConnect Kirkwood, MiraBox Armada 370)
Tested-by: Andrew Lunn <[email protected]> (D-Link DIR664 Kirkwood)
Tested-by: Thomas Petazzoni <[email protected]> (Armada XP GP)
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Thomas Petazzoni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions