Hi Laurent, On Fri, Jan 28, 2022 at 04:51:32PM +0200, Laurent Pinchart wrote: > > + * @bus_info: Variable where to write the bus info (char array) > > + * @bus_info_size: Length of the bus_info > > + * @dev: Related struct device > > + * > > + * Sets bus information based on &dev. This is currently done for PCI and > > + * platform devices. dev is required to be non-NULL for this to happen. > > Are there drivers that set a NULL dev ? There shouldn't be but when the function is called from the framework, it's better to assume this could be the case. -- Sakari Ailus