diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 18:06:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:53 -0400 |
commit | 277048aa6a32ecd8a21241737287ff377a5501e0 (patch) | |
tree | 65a91660e03120e868955a0cca32f6c30edadf60 | |
parent | 013f91e7bd98d6adb3b84763e2ab8ff86e64445f (diff) |
drivers/rtc/rtc-dm355evm.c: remove empty function
After the switch to devm_ functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/rtc/rtc-dm355evm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c index 1855581014f7..1aca08394c47 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) | |||
139 | return 0; | 139 | return 0; |
140 | } | 140 | } |
141 | 141 | ||
142 | static int dm355evm_rtc_remove(struct platform_device *pdev) | ||
143 | { | ||
144 | return 0; | ||
145 | } | ||
146 | |||
147 | /* | 142 | /* |
148 | * I2C is used to talk to the MSP430, but this platform device is | 143 | * I2C is used to talk to the MSP430, but this platform device is |
149 | * exposed by an MFD driver that manages I2C communications. | 144 | * exposed by an MFD driver that manages I2C communications. |
150 | */ | 145 | */ |
151 | static struct platform_driver rtc_dm355evm_driver = { | 146 | static struct platform_driver rtc_dm355evm_driver = { |
152 | .probe = dm355evm_rtc_probe, | 147 | .probe = dm355evm_rtc_probe, |
153 | .remove = dm355evm_rtc_remove, | ||
154 | .driver = { | 148 | .driver = { |
155 | .owner = THIS_MODULE, | 149 | .owner = THIS_MODULE, |
156 | .name = "rtc-dm355evm", | 150 | .name = "rtc-dm355evm", |