summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-sprd.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <aardelean@deviqon.com>2021-05-16 10:43:11 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-05-25 16:14:34 +0200
commit81933d3e485094fee38519e779d8e8f315f513c5 (patch)
treea5376269065839abbba721be9cbb134c7bf754dd /drivers/gpio/gpio-sprd.c
parentcd440753dc9e8803c945f67e4d45f6ea834c00ed (diff)
downloadlwn-81933d3e485094fee38519e779d8e8f315f513c5.tar.gz
lwn-81933d3e485094fee38519e779d8e8f315f513c5.zip
gpio: spear-spics: 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. This change isn't removing the 'DT probe failed' message, as some may find it useful as a reason for the failed probe. But that can be part of another change if needed. Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-sprd.c')
0 files changed, 0 insertions, 0 deletions