aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 18:07:24 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:07:57 -0400
commit40ac8729ea4cc383d62046620f33b205a28391ba (patch)
tree960ff346e6b5a6a15a4a8b35758bad1591d98b8c /drivers/rtc
parentd95c616352e19e735f6d1578f64f586a87eb2004 (diff)
drivers/rtc/rtc-m48t35.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> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-m48t35.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-m48t35.c b/drivers/rtc/rtc-m48t35.c
index 37444246e5e4..25678d4ee3b5 100644
--- a/drivers/rtc/rtc-m48t35.c
+++ b/drivers/rtc/rtc-m48t35.c
@@ -180,18 +180,12 @@ static int m48t35_probe(struct platform_device *pdev)
180 return 0; 180 return 0;
181} 181}
182 182
183static int m48t35_remove(struct platform_device *pdev)
184{
185 return 0;
186}
187
188static struct platform_driver m48t35_platform_driver = { 183static struct platform_driver m48t35_platform_driver = {
189 .driver = { 184 .driver = {
190 .name = "rtc-m48t35", 185 .name = "rtc-m48t35",
191 .owner = THIS_MODULE, 186 .owner = THIS_MODULE,
192 }, 187 },
193 .probe = m48t35_probe, 188 .probe = m48t35_probe,
194 .remove = m48t35_remove,
195}; 189};
196 190
197module_platform_driver(m48t35_platform_driver); 191module_platform_driver(m48t35_platform_driver);