diff options
author | 2017-07-19 23:35:28 -0300 | |
---|---|---|
committer | 2017-08-28 16:55:47 +0200 | |
commit | 54ec602370c4c818a9e9d8c4ef2a68ff8126997c (patch) | |
tree | 413dd1719a744017476386ec7aaa6afa459e16cb /drivers/misc/hpilo.c | |
parent | firmware: vpd: use memunmap instead of iounmap (diff) | |
download | wireguard-linux-54ec602370c4c818a9e9d8c4ef2a68ff8126997c.tar.xz wireguard-linux-54ec602370c4c818a9e9d8c4ef2a68ff8126997c.zip |
misc: eeprom_93xx46: Simplify the usage of gpiod API
Commit 3ca9b1ac28398c ("misc: eeprom_93xx46: Add support for a GPIO
'select' line.") introduced the optional usage of 'select-gpios'
by using the gpiod API in a convoluted way.
Rewrite the gpiod handling to make the code simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/hpilo.c')
0 files changed, 0 insertions, 0 deletions