Skip to content
Commit ceac51b1 authored by Andrei Coardos's avatar Andrei Coardos Committed by Bartosz Golaszewski
Browse files

gpio: max77620: remove unneeded platform_set_drvdata() call



This function call is not required because no counterpart
platform_get_drvdata() call is present to leverage the private data of
the driver.
Since the private data is confined to this driver file, external access
is not feasible.
The use of this function appears redundant in the current context of the
driver's implementation.

Reviewed-by: default avatarAlexandru Ardelean <alex@shruggie.ro>
Signed-off-by: default avatarAndrei Coardos <aboutphysycs@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andy@kernel.org>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent c518e7dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment