]> 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)
commit4e62aae683814818cabbb9440c104d4ce637e527
treec2bf2a1c4f5469d5eee8cd8a9bee594a4d9bfa8f
parent2018862bdad13479b663e0e9615d7c6fcaa89285
gpio: xgene-sb: Tidy up fwnode usage

Since 63c60bebb1a0 ("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