aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-01-13 23:53:49 +0200
committerLinus Walleij <[email protected]>2023-01-26 13:38:55 +0100
commitc40aa80dd4569848ac89454321fa035a6ca26976 (patch)
tree31bd37a9e4e9966afe8393cfc35abbf3b951090f /drivers/usb/cdns3/cdns3-debug.h
parent6eea5a80d2ae9bc1df5664bcf7851306df96e9dc (diff)
gpiolib: Check "gpio-ranges" before calling ->add_pin_ranges()
The ->add_pin_ranges() is supposed to be called for the backward compatiblity on Device Tree platforms or non-DT ones. Ensure that by checking presense of the "gpio-ranges" property. This allows to clean up a few existing drivers to avoid duplication of the check. Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Stefan Wahren <[email protected]> Tested-by: Florian Fainelli <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Acked-by: Bartosz Golaszewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions