]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a605fe19ccfc36af0af8b710f826270b952b41f
treec2bf2a1c4f5469d5eee8cd8a9bee594a4d9bfa8f
parent384fde7ed224f283f11ef2a592b05d4a29492aa8
gpio: xgene-sb: Tidy up fwnode usage

Since c10ff2b482fd ("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