On Mon, Apr 15, 2024 at 02:02:13PM +0200, Hans de Goede wrote: > intel_v4l2_subdev_type / atomisp_input_subdev.type now always is > RAW_CAMERA, drop it. ... > - for (subdevs = pdata->subdevs; subdevs->type; ++subdevs) { > + for (subdevs = pdata->subdevs; subdevs->subdev; ++subdevs) { While at it, use postincrement. -- With Best Regards, Andy Shevchenko