]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/rtc-dm355evm.c: remove empty function
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 27 Jun 2013 23:53:22 +0000 (09:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:39 +0000 (16:38 +1000)
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>
drivers/rtc/rtc-dm355evm.c

index 1855581014f76516995abfa0d67d317ab0ee3bc6..1aca08394c479dc2fffa69d7230e143e51413a51 100644 (file)
@@ -139,18 +139,12 @@ static int dm355evm_rtc_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int dm355evm_rtc_remove(struct platform_device *pdev)
-{
-       return 0;
-}
-
 /*
  * I2C is used to talk to the MSP430, but this platform device is
  * exposed by an MFD driver that manages I2C communications.
  */
 static struct platform_driver rtc_dm355evm_driver = {
        .probe          = dm355evm_rtc_probe,
-       .remove         = dm355evm_rtc_remove,
        .driver         = {
                .owner  = THIS_MODULE,
                .name   = "rtc-dm355evm",