aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Walleij2023-04-11 10:28:06 +0200
committerBartosz Golaszewski2023-04-11 21:13:34 +0200
commit8a4adcf67a39b3f308bb8cf686e41c0e26aa12e8 (patch)
tree0a631c23cb7631b750447334608c1a47019e7c7c /include
parentf09673770e767f862bd992b612f14018d0ab3857 (diff)
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 'include')
0 files changed, 0 insertions, 0 deletions