Home
last modified time | relevance | path

Searched hist:"6 b4a2a42" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-viperboard.c6b4a2a42 Wed Aug 25 02:01:25 CDT 2021 Alexandru Ardelean <aardelean@deviqon.com> gpio: viperboard: remove platform_set_drvdata() call in 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.

This change removes it.
Also removing with this change is some logging about the failure to init
the gpio chip data. There are other logging methods to view that this
failed.

Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>