Home
last modified time | relevance | path

Searched hist:cc7af0bfa0d953fc9aaf278f11ea6f9b17ac228b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-tps6586x.cdiff cc7af0bfa0d953fc9aaf278f11ea6f9b17ac228b Sat May 15 02:52:33 CDT 2021 Alexandru Ardelean <aardelean@deviqon.com> 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>