Re: [v2,2/2] media: Add a driver for the ov7251 camera sensor

From: Sakari Ailus
Date: Thu Mar 29 2018 - 06:21:34 EST


Hi Todor,

On Thu, Mar 29, 2018 at 01:09:18PM +0300, Todor Tomov wrote:
> > There's another change needed, too, which is not using of_match_ptr
> > macro, but instead assigning the of_match_table unconditionally.
>
> In that case the MODULE_DEVICE_TABLE(i2c, ...) is again not needed?
> And matching will be again via of_match_table?

Correct.

--
Sakari Ailus
sakari.ailus@xxxxxxxxxxxxxxx