Patchwork [05/15] drivers/rtc/rtc-max8998.c: Remove empty function

login
register
mail settings
Submitter Sachin Kamat
Date May 13, 2013, 11:48 a.m.
Message ID <1368445693-24639-5-git-send-email-sachin.kamat@linaro.org>
Download mbox | patch
Permalink /patch/243384/
State New
Headers show

Comments

Sachin Kamat - May 13, 2013, 11:48 a.m.
'remove' function does not do anything. Hence delete it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Minkyu Kang <mk7.kang@samsung.com>
---
 drivers/rtc/rtc-max8998.c |    6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-max8998.c b/drivers/rtc/rtc-max8998.c
index b93842d..6405413 100644
--- a/drivers/rtc/rtc-max8998.c
+++ b/drivers/rtc/rtc-max8998.c
@@ -294,11 +294,6 @@  static int max8998_rtc_probe(struct platform_device *pdev)
 	return 0;
 }
 
-static int max8998_rtc_remove(struct platform_device *pdev)
-{
-	return 0;
-}
-
 static const struct platform_device_id max8998_rtc_id[] = {
 	{ "max8998-rtc", TYPE_MAX8998 },
 	{ "lp3974-rtc", TYPE_LP3974 },
@@ -311,7 +306,6 @@  static struct platform_driver max8998_rtc_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= max8998_rtc_probe,
-	.remove		= max8998_rtc_remove,
 	.id_table	= max8998_rtc_id,
 };