commit | 54ec602370c4c818a9e9d8c4ef2a68ff8126997c | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Wed Jul 19 23:35:28 2017 -0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 28 16:55:47 2017 +0200 |
tree | 413dd1719a744017476386ec7aaa6afa459e16cb | |
parent | 75e5bae6ddf74740dd6ee35bc2d33ac9018037f4 [diff] |
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>