On Mon, Feb 12, 2024 at 02:46:49PM +0200, Andy Shevchenko wrote: > On Mon, Feb 12, 2024 at 12:36:46PM +0000, Sakari Ailus wrote: > > On Mon, Feb 12, 2024 at 11:42:06AM +0000, Jonathan Cameron wrote: > > ... > > > Hmm. In that case I'd rather make fwnode_handle_put() and similar trivial > > functions macros. > > This will kill the type-checking opportunity, so I'm against this move. Then it could be made static inline and moved to the header. I suppose for modern compilers there should be no difference in between the two optimisation-wise. -- Sakari Ailus