summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-spear-spics.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <aardelean@deviqon.com>2021-05-17 13:37:07 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-05-25 16:14:05 +0200
commitcd440753dc9e8803c945f67e4d45f6ea834c00ed (patch)
tree95556f45480afe9be9e21f7583fa56b9b9ba0ef7 /drivers/gpio/gpio-spear-spics.c
parentgpio: tps65912: remove platform_set_drvdata() + cleanup probe (diff)
downloadlinux-cd440753dc9e8803c945f67e4d45f6ea834c00ed.tar.xz
linux-cd440753dc9e8803c945f67e4d45f6ea834c00ed.zip
gpio: ath79: remove platform_set_drvdata() + cleanup probe
The platform_set_drvdata() call is only useful if we need to retrieve back the private information. Since the driver doesn't do that, it's not useful to have it. If this is removed, we can also just do a direct return on devm_gpiochip_add_data(). We don't need to print that this call failed as there are other ways to log/see this during probe. Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-spear-spics.c')
0 files changed, 0 insertions, 0 deletions