From: Sachin Kamat Date: Wed, 3 Jul 2013 22:07:15 +0000 (-0700) Subject: drivers/rtc/rtc-ds1216.c: remove empty function X-Git-Tag: accepted/tizen/common/20141203.182822~1935^2~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0df2c54e8e3e7befb7a484d55d781b4e6ba17d83;p=platform%2Fkernel%2Flinux-arm64.git drivers/rtc/rtc-ds1216.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: Thomas Bogendoerfer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-ds1216.c b/drivers/rtc/rtc-ds1216.c index c7702b7..1831c84 100644 --- a/drivers/rtc/rtc-ds1216.c +++ b/drivers/rtc/rtc-ds1216.c @@ -167,17 +167,11 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev) return 0; } -static int __exit ds1216_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver ds1216_rtc_platform_driver = { .driver = { .name = "rtc-ds1216", .owner = THIS_MODULE, }, - .remove = __exit_p(ds1216_rtc_remove), }; static int __init ds1216_rtc_init(void)