diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-12-07 10:34:08 +0100 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-12-17 12:26:13 +0100 |
commit | ac627260cf525300d5d13e67279a89911f1ad928 (patch) | |
tree | e26ea4bbb64739aa551883297251f0913023e3fb /drivers/gpio/gpio-sim.c | |
parent | 990f6756bb64756d2d1033118cded6333b43397d (diff) |
gpiolib: of: make fwnode take precedence in struct gpio_chip
If the driver sets the fwnode in struct gpio_chip, let it take
precedence over the of_node. This only affects OF-based systems,
ACPI needs to be converted separately.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-sim.c')
0 files changed, 0 insertions, 0 deletions