On Sun, Jan 22, 2023 at 09:09:38PM +0300, Alexander Shiyan wrote: > I dont know. I said how would I do it if it was my patch. I hope > Sasсha will decide how it will be better. I would also prefer a dedicated function that just returns 0 if there are no CS GPIOs found. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |