gpio: viperboard: remove platform_set_drvdata() call in probe
authorAlexandru Ardelean <aardelean@deviqon.com>
Wed, 25 Aug 2021 07:01:25 +0000 (10:01 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 31 Aug 2021 09:29:28 +0000 (11:29 +0200)
commit6b4a2a427245fd357208ccf427891805354ef5b1
treea264a53fde44e737d425c776bdd3326b0ac0ec5e
parentdacd59b4b3586862b00d9894b6e65c294f4ec413
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>
drivers/gpio/gpio-viperboard.c