]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rtc-add-rtc-driver-for-tps80031-tps80032-v2-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 20 Feb 2013 02:15:44 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:26 +0000 (16:53 +1100)
remove obsolete __devinit/__devexit

Cc: Devendra Naga <devendra.aaru@gmail.com>
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-tps80031.c

index 89ab9d8ea3c36dd9c63020c761ded6d05671080b..97406411d58ca3e8f7e464bd7f179d4d983fa889 100644 (file)
@@ -233,7 +233,7 @@ static const struct rtc_class_ops tps80031_rtc_ops = {
        .alarm_irq_enable = tps80031_rtc_alarm_irq_enable,
 };
 
-static int __devinit tps80031_rtc_probe(struct platform_device *pdev)
+static int tps80031_rtc_probe(struct platform_device *pdev)
 {
        struct tps80031_rtc *rtc;
        struct rtc_time tm;
@@ -298,7 +298,7 @@ static int __devinit tps80031_rtc_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit tps80031_rtc_remove(struct platform_device *pdev)
+static int tps80031_rtc_remove(struct platform_device *pdev)
 {
        struct tps80031_rtc *rtc = platform_get_drvdata(pdev);