I made a mistake last night when checking whether gpiod_set_value() is safe to call with a NULL gpiod descriptor (it is). v4 of the patch just fixes that mistake. It does simplify the code nicely. This version also fixes the error handling when the reset gpio is missing. David Mosberger-Tang (2): wilc1000: Add reset/enable GPIO support to SPI driver wilc1000: Document enable-gpios and reset-gpios properties .../net/wireless/microchip,wilc1000.yaml | 17 ++++++ drivers/net/wireless/microchip/wilc1000/spi.c | 58 ++++++++++++++++++- .../net/wireless/microchip/wilc1000/wlan.c | 2 +- 3 files changed, 73 insertions(+), 4 deletions(-) -- 2.25.1