I didn't not check for null on devm_gpiod_get_optional as gpiod_set_value does this on entry. Frequency of this seemed low enough that the function call doesn't add any significant overhead. I can add a check if required. Phil Reid (1): spi: sc18is602: Add reset control via gpio pin. drivers/spi/spi-sc18is602.c | 9 +++++++++ 1 file changed, 9 insertions(+) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html