From: Sachin Kamat Date: Fri, 7 Jun 2013 00:09:11 +0000 (+1000) Subject: drivers/rtc/rtc-da9052.c: remove empty function X-Git-Tag: next-20130607~2^2~151 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a4b440019545e2d17f5df66edc0ff598b47cd0d1;p=karo-tx-linux.git drivers/rtc/rtc-da9052.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: David Dajun Chen Signed-off-by: Andrew Morton --- diff --git a/drivers/rtc/rtc-da9052.c b/drivers/rtc/rtc-da9052.c index a61ab7fa8a66..2f7fdd77a6f0 100644 --- a/drivers/rtc/rtc-da9052.c +++ b/drivers/rtc/rtc-da9052.c @@ -255,14 +255,8 @@ static int da9052_rtc_probe(struct platform_device *pdev) return 0; } -static int da9052_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver da9052_rtc_driver = { .probe = da9052_rtc_probe, - .remove = da9052_rtc_remove, .driver = { .name = "da9052-rtc", .owner = THIS_MODULE,