On Thu, Jun 20, 2024 at 12:47:15PM +0200, Hans Verkuil wrote: > I agree with Laurent on this. Sensor and debayer subdev devices have > hardwired pads determined by the hardware, it is not something that is > flexible. Since this is also serves as an example of such a driver, it > makes sense to hardcode it, as that is how it is done in practice. Me, too. If you know you have one of something, there's indeed no need for a loop. -- Sakari Ailus