summaryrefslogtreecommitdiff
path: root/drivers/input/misc/e3x0-button.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-21 23:50:09 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-21 23:53:34 -0800
commit8010e0db7071bdcd0fbd47983e88990d6ce979fb (patch)
tree5703ff6e0fd3c00d11895e6bdd7548bfae11b422 /drivers/input/misc/e3x0-button.c
parentf20b161f59b73d40043199b3bff362e656a9c673 (diff)
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/e3x0-button.c')
-rw-r--r--drivers/input/misc/e3x0-button.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/input/misc/e3x0-button.c b/drivers/input/misc/e3x0-button.c
index 1e50314db1ab..e956cf1d273f 100644
--- a/drivers/input/misc/e3x0-button.c
+++ b/drivers/input/misc/e3x0-button.c
@@ -124,11 +124,6 @@ static int e3x0_button_probe(struct platform_device *pdev)
return 0;
}
-static int e3x0_button_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
#ifdef CONFIG_OF
static const struct of_device_id e3x0_button_match[] = {
{ .compatible = "ettus,e3x0-button", },
@@ -144,7 +139,6 @@ static struct platform_driver e3x0_button_driver = {
.pm = &e3x0_button_pm_ops,
},
.probe = e3x0_button_probe,
- .remove = e3x0_button_remove,
};
module_platform_driver(e3x0_button_driver);