Patchwork [10/15] drivers/rtc/rtc-dm355evm.c: Remove empty function

login
register
mail settings
Submitter Sachin Kamat
Date May 13, 2013, 11:48 a.m.
Message ID <1368445693-24639-10-git-send-email-sachin.kamat@linaro.org>
Download mbox | patch
Permalink /patch/243389/
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>
---
 drivers/rtc/rtc-dm355evm.c |    6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c
index 1855581..1aca083 100644
--- a/drivers/rtc/rtc-dm355evm.c
+++ b/drivers/rtc/rtc-dm355evm.c
@@ -139,18 +139,12 @@  static int dm355evm_rtc_probe(struct platform_device *pdev)
 	return 0;
 }
 
-static int dm355evm_rtc_remove(struct platform_device *pdev)
-{
-	return 0;
-}
-
 /*
  * I2C is used to talk to the MSP430, but this platform device is
  * exposed by an MFD driver that manages I2C communications.
  */
 static struct platform_driver rtc_dm355evm_driver = {
 	.probe		= dm355evm_rtc_probe,
-	.remove		= dm355evm_rtc_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= "rtc-dm355evm",