> You should use devm_gpiod_get() and friends. If you do not have > corresponding Linux device node, then it is fwnode_get_named_gpiod(). It seems the fwnode_get_named_gpiod() function will be used in my case, but how can I get the fwnode?? looking at the moment to the i2c-core code where it is also used.... chris -- 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