diff options
author | Andrei Coardos <aboutphysycs@gmail.com> | 2023-07-17 15:10:04 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-07-29 16:07:04 +0200 |
commit | c456c4d9707a0bd484a1af30188f5c416fc394f0 (patch) | |
tree | e17400f67c1e5b277a3eca31cc8fba5a56a78028 /drivers/gpio/gpio-eic-sprd.c | |
parent | 8020619ad785c87e807ca9f782238294c2a602e0 (diff) | |
download | linux-stable-c456c4d9707a0bd484a1af30188f5c416fc394f0.tar.gz linux-stable-c456c4d9707a0bd484a1af30188f5c416fc394f0.tar.bz2 linux-stable-c456c4d9707a0bd484a1af30188f5c416fc394f0.zip |
gpio: eic-sprd: remove unneeded platform_set_drvdata() call
The platform_set_drvdata() call was never used, ever since the driver was
originally added.
It looks like this copy+paste left-over. Possibly the author copied from a
driver that had this line, but also had a remove hook.
Reviewed-by: Alexandru Ardelean <alex@shruggie.ro>
Signed-off-by: Andrei Coardos <aboutphysycs@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-eic-sprd.c')
-rw-r--r-- | drivers/gpio/gpio-eic-sprd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-eic-sprd.c b/drivers/gpio/gpio-eic-sprd.c index 67b1e09e8985..5320cf1de89c 100644 --- a/drivers/gpio/gpio-eic-sprd.c +++ b/drivers/gpio/gpio-eic-sprd.c @@ -653,7 +653,6 @@ static int sprd_eic_probe(struct platform_device *pdev) return ret; } - platform_set_drvdata(pdev, sprd_eic); return 0; } |