summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-04-11 11:28:06 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-04-11 22:13:34 +0300
commit8a4adcf67a39b3f308bb8cf686e41c0e26aa12e8 (patch)
tree0a631c23cb7631b750447334608c1a47019e7c7c /arch/arm/mach-omap2
parentf09673770e767f862bd992b612f14018d0ab3857 (diff)
downloadlinux-8a4adcf67a39b3f308bb8cf686e41c0e26aa12e8.tar.xz
gpio: gpiolib: Simplify gpiochip_add_data_with_key() fwnode
The code defaulting to the parents fwnode if no fwnode was assigned is unnecessarily convoluted, probably due to refactoring. Simplify it and make it more human-readable. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions