Does it make sense to switch to GPIO descriptors at some point
That comes from the SPI core. Struct spi_device defines cs_gpio as an int.
and use devm_gpiod_get_index() instead of two calls?
Thanks, I've changed the code to use devm_gpio_request_one() now. Cheers, Jan -- 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