aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexandru Ardelean2021-05-17 14:35:38 +0300
committerBartosz Golaszewski2021-05-25 16:20:58 +0200
commit14ebdaec6d004a7d0727a0713c30b89166179e41 (patch)
tree6e3e97c52c1ffb6510724fbf581d1ba95a13bbe9 /lib
parent96a03e867c70c738eececcef343a40e60206e51f (diff)
gpio: wm831x: 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 'lib')
0 files changed, 0 insertions, 0 deletions