[PATCH] gpio: xgene-sb: Tidy up fwnode usage

Linus Walleij linus.walleij at linaro.org
Fri Sep 8 05:54:20 PDT 2017


On Thu, Aug 24, 2017 at 7:24 PM, Robin Murphy <robin.murphy at arm.com> wrote:

> Since f94277af03ea ("of/platform: Initialise dev->fwnode appropriately"),
> of_platform_device_create() already initialises dev->fwnode to that of
> the appropriate device_node, so within the driver we shouldn't need to
> care whether we probed via DT or ACPI.
>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> ---
>
> Not tested, just an opportunity I happened to spot whilst looking
> at something else.

No replies so applied for v4.15 (next merge window).

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list