Re: [PATCH v1 8/8] pwm-pca9685: enable ACPI device found on Galileo Gen2
From: Andy Shevchenko
Date: Wed Sep 23 2015 - 08:57:05 EST
On Wed, 2015-09-23 at 14:48 +0200, Thierry Reding wrote:
> > > >
> On Wed, Sep 23, 2015 at 11:41:26AM +0300, Andy Shevchenko wrote:
> > On Tue, 2015-09-22 at 16:37 +0200, Thierry Reding wrote:
> > > On Tue, Sep 22, 2015 at 01:10:19PM +0300, Andy Shevchenko wrote:
> >
> > >
> > > > .of_match_table = pca9685_dt_ids,
> > >
> > > Similarly to the above, this should use of_match_ptr(), which in
> > > turn
> > > will require #ifdef protection for the table to avoid warnings.
> >
> > Hmm... my patch do not touches that part. Perhaps another patch for
> > this?
>
> Your patch does touch that part by removing the dependency on OF.
> That
> makes it possible to build this code with !OF, which in turn would
> make
> the OF match table unused.
Ah, you're right. Will amend this part as well.
Thanks!
>
> Thierry
--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/