diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 15:06:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:53 -0700 |
commit | 7f9833cdf642ade8a99d7979a7128b9288234d95 (patch) | |
tree | 44f458f4151189508a4c4b607220134b5ba16229 /drivers/rtc | |
parent | ce06cc82d7cb5445d0c01c980433ada4ab0f2847 (diff) | |
download | op-kernel-dev-7f9833cdf642ade8a99d7979a7128b9288234d95.zip op-kernel-dev-7f9833cdf642ade8a99d7979a7128b9288234d95.tar.gz |
drivers/rtc/rtc-ls1x.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: zhao zhang <zhzhl555@gmail.com>
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-ls1x.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c index e913f38..682ecb0 100644 --- a/drivers/rtc/rtc-ls1x.c +++ b/drivers/rtc/rtc-ls1x.c @@ -185,17 +185,11 @@ err: return ret; } -static int ls1x_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver ls1x_rtc_driver = { .driver = { .name = "ls1x-rtc", .owner = THIS_MODULE, }, - .remove = ls1x_rtc_remove, .probe = ls1x_rtc_probe, }; |