aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tc3589x.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <aardelean@deviqon.com>2021-05-15 10:52:33 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-05-24 20:56:19 +0200
commitcc7af0bfa0d953fc9aaf278f11ea6f9b17ac228b (patch)
treec5cc15394039ffb49ab66300e201b12bf9d71900 /drivers/gpio/gpio-tc3589x.c
parentgpio: gpio-tegra186: remove platform_set_drvdata() + cleanup probe (diff)
downloadlinux-dev-cc7af0bfa0d953fc9aaf278f11ea6f9b17ac228b.tar.xz
linux-dev-cc7af0bfa0d953fc9aaf278f11ea6f9b17ac228b.zip
gpio: tps6586x: 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-tc3589x.c')
0 files changed, 0 insertions, 0 deletions