OSDN Git Service

gpio: xgene-sb: Tidy up fwnode usage
authorRobin Murphy <robin.murphy@arm.com>
Thu, 24 Aug 2017 17:24:11 +0000 (18:24 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 Sep 2017 07:39:24 +0000 (09:39 +0200)
commitaa5c2a88bb1d1116a4de3046e7adb9e864f1c9e5
treec2bf2a1c4f5469d5eee8cd8a9bee594a4d9bfa8f
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
gpio: xgene-sb: Tidy up fwnode usage

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@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xgene-sb.c