gpio: logicvc: remove unneeded platform_set_drvdata() call
authorAndrei Coardos <aboutphysycs@gmail.com>
Wed, 19 Jul 2023 09:48:03 +0000 (12:48 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 29 Jul 2023 14:05:50 +0000 (16:05 +0200)
commit8020619ad785c87e807ca9f782238294c2a602e0
treed4e82f8259898b935b16e5517f7296c2fea0458f
parentba8a90e8cb8ca4db4e57be6b53aa8c364137b38c
gpio: logicvc: remove unneeded platform_set_drvdata() call

The platform_set_drvdata() isn't needed for anything. The function is a
simple setter that doesn't change anything in the code. That is because
there isn't a get function and since it has no dependencies it can be
removed.

Reviewed-by: Alexandru Ardelean <alex@shruggie.ro>
Signed-off-by: Andrei Coardos <aboutphysycs@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-logicvc.c