Re: [PATCH 3/3] i2c: jz4780: Remove of_match_ptr()

From: Rob Herring
Date: Tue Sep 15 2020 - 18:33:03 EST


On Tue, Sep 15, 2020 at 4:07 AM Paul Cercueil <paul@xxxxxxxxxxxxxxx> wrote:
>
> Hi Rob,
>
> Le lun. 14 sept. 2020 à 16:12, Rob Herring <robh@xxxxxxxxxx> a écrit :
> > On Fri, Sep 04, 2020 at 03:11:52PM +0200, Paul Cercueil wrote:
> >> CONFIG_OF is selected by CONFIG_MACH_INGENIC, therefore we don't
> >> need to
> >> handle the case where Device Tree is not supported.
> >
> > What about COMPILE_TEST? If not supported, why not?
>
> What about it? It will still compile fine with COMPILE_TEST.

CONFIG_OF could be disabled in that case, so the above reasoning doesn't hold.

Rob