On Sat, Feb 17, 2024 at 04:42:35PM +0000, Jonathan Cameron wrote: > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > By having this function as static inline in the header, the compiler > is able to see if can optmize the call out if (IS_ERR_OR_NULL(fwnode)) > This will allow a simpler DEFINE_FREE() call in the following patch. > > Suggested-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Reviewed-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus