Re: [PATCH 16/23] media: atomisp: Drop intel_v4l2_subdev_type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux