kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
[librecmc/librecmc.git] / target / linux / generic / patches-3.8 / 840-rtc7301.patch
index 89b5d46fc9016771e4873f39c042950bef040bc0..ad837eb971143184a43a8ca15a3077fdb645a1d1 100644 (file)
 +      .set_time       = rtc7301_set_datetime,
 +};
 +
-+static int __devinit rtc7301_probe(struct platform_device *pdev)
++static int rtc7301_probe(struct platform_device *pdev)
 +{
 +      struct rtc_device *rtc;
 +      struct resource *res;
 +      return 0;
 +}
 +
-+static int __devexit rtc7301_remove(struct platform_device *pdev)
++static int rtc7301_remove(struct platform_device *pdev)
 +{
 +      struct rtc_device *rtc = platform_get_drvdata(pdev);
 +
 +              .owner  = THIS_MODULE,
 +      },
 +      .probe  = rtc7301_probe,
-+      .remove = __devexit_p(rtc7301_remove),
++      .remove = rtc7301_remove,
 +};
 +
 +static __init int rtc7301_init(void)