diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 18:06:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:53 -0400 |
commit | d43fcab6b29b818a627501b21628967b5396b1f9 (patch) | |
tree | baf4f2466a741d7e44f2b8c2d3a1a0832ef77d86 /drivers/rtc/rtc-m48t86.c | |
parent | 29ecd78c0fd6ee05f2c6b07b23823a6ae43c13ff (diff) |
drivers/rtc/rtc-m48t86.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>
Diffstat (limited to 'drivers/rtc/rtc-m48t86.c')
-rw-r--r-- | drivers/rtc/rtc-m48t86.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-m48t86.c b/drivers/rtc/rtc-m48t86.c index d1fe7f5cd20a..2d30314fa07f 100644 --- a/drivers/rtc/rtc-m48t86.c +++ b/drivers/rtc/rtc-m48t86.c | |||
@@ -166,18 +166,12 @@ static int m48t86_rtc_probe(struct platform_device *dev) | |||
166 | return 0; | 166 | return 0; |
167 | } | 167 | } |
168 | 168 | ||
169 | static int m48t86_rtc_remove(struct platform_device *dev) | ||
170 | { | ||
171 | return 0; | ||
172 | } | ||
173 | |||
174 | static struct platform_driver m48t86_rtc_platform_driver = { | 169 | static struct platform_driver m48t86_rtc_platform_driver = { |
175 | .driver = { | 170 | .driver = { |
176 | .name = "rtc-m48t86", | 171 | .name = "rtc-m48t86", |
177 | .owner = THIS_MODULE, | 172 | .owner = THIS_MODULE, |
178 | }, | 173 | }, |
179 | .probe = m48t86_rtc_probe, | 174 | .probe = m48t86_rtc_probe, |
180 | .remove = m48t86_rtc_remove, | ||
181 | }; | 175 | }; |
182 | 176 | ||
183 | module_platform_driver(m48t86_rtc_platform_driver); | 177 | module_platform_driver(m48t86_rtc_platform_driver); |