From: Sachin Kamat Date: Wed, 3 Jul 2013 22:06:51 +0000 (-0700) Subject: drivers/rtc/rtc-ls1x.c: remove empty function X-Git-Tag: accepted/tizen/common/20141203.182822~1935^2~140 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f9833cdf642ade8a99d7979a7128b9288234d95;p=platform%2Fkernel%2Flinux-arm64.git 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 Cc: zhao zhang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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, };