On Wed, Mar 18, 2020 at 5:56 PM Michael Auchter <michael.auchter@xxxxxx> wrote: > > Add of_match_table to this driver, so devices can be probed based on > device tree contents. > + .of_match_table = of_match_ptr(ad5686_of_match), There is no need to use of_match_ptr(). Didn't you get a compiler warning for !OF case? -- With Best Regards, Andy Shevchenko