Re: [PATCH net-next] net: dsa: vsc73xx: Remove dependency on CONFIG_OF

From: Linus Walleij
Date: Sun Jan 05 2020 - 20:46:09 EST


On Fri, Jan 3, 2020 at 12:34 AM Florian Fainelli <f.fainelli@xxxxxxxxx> wrote:

> There is no build time dependency on CONFIG_OF, but we do need to make
> sure we gate the initialization of the gpio_chip::of_node member with a
> proper check on CONFIG_OF_GPIO. This enables the driver to build on
> platforms that do not have CONFIG_OF enabled.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

It's nice if some non-DT users need to use this driver, like
some board file. Thanks!

Yours,
Linus Walleij