summaryrefslogtreecommitdiff
path: root/drivers/input/misc/hisi_powerkey.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-22 10:50:09 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-22 10:53:34 +0300
commit8010e0db7071bdcd0fbd47983e88990d6ce979fb (patch)
tree5703ff6e0fd3c00d11895e6bdd7548bfae11b422 /drivers/input/misc/hisi_powerkey.c
parentf20b161f59b73d40043199b3bff362e656a9c673 (diff)
downloadlinux-8010e0db7071bdcd0fbd47983e88990d6ce979fb.tar.xz
Input: misc - drop empty remove functions
Empty remove functions don't serve a useful purpose and can be removed. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/hisi_powerkey.c')
-rw-r--r--drivers/input/misc/hisi_powerkey.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/input/misc/hisi_powerkey.c b/drivers/input/misc/hisi_powerkey.c
index baa81dccfc1f..dee6245f38d7 100644
--- a/drivers/input/misc/hisi_powerkey.c
+++ b/drivers/input/misc/hisi_powerkey.c
@@ -120,17 +120,11 @@ static int hi65xx_powerkey_probe(struct platform_device *pdev)
return 0;
}
-static int hi65xx_powerkey_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver hi65xx_powerkey_driver = {
.driver = {
.name = "hi65xx-powerkey",
},
.probe = hi65xx_powerkey_probe,
- .remove = hi65xx_powerkey_remove,
};
module_platform_driver(hi65xx_powerkey_driver);