summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-11-10 10:39:21 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-11-16 11:27:33 +0100
commit3c6e73e47afc874c231b48157be669efaf768471 (patch)
tree9ac6ebc6e5259231bcb55cd6e91b2fc97ebbf99d /CREDITS
parent37174f3341306eaea7b7f4f5cc624e0040305a98 (diff)
downloadlinux-next-3c6e73e47afc874c231b48157be669efaf768471.tar.gz
gpiolib: devres: shrink devm_gpiochip_add_data_with_key()
If all we want to manage is a single pointer, there's no need to manually allocate and add a new devres. We can simply use devm_add_action_or_reset() and shrink the code by a good bit. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions