summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlexandru Ardelean <aardelean@deviqon.com>2021-05-17 14:35:39 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-05-25 16:21:28 +0200
commit0533260687a76c48e6655f7d9eb0bd1811bd9353 (patch)
tree5452f41e43d79863e09cb858d604665befc03067 /arch
parente076aeda467d83dba43f8e3a9d43997aaaf970fe (diff)
gpio: wm8350: 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 'arch')
0 files changed, 0 insertions, 0 deletions