]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/watchdog/rdc321x_wdt.c
watchdog: remove use of __devexit
[mirror_ubuntu-zesty-kernel.git] / drivers / watchdog / rdc321x_wdt.c
index 042ccc56ae26f34dad5f6ef2dbe1327d47cc56bf..b0f116c2fd533b9d3a63361696d793e3a38d6a23 100644 (file)
@@ -225,7 +225,7 @@ static struct miscdevice rdc321x_wdt_misc = {
        .fops   = &rdc321x_wdt_fops,
 };
 
-static int __devinit rdc321x_wdt_probe(struct platform_device *pdev)
+static int rdc321x_wdt_probe(struct platform_device *pdev)
 {
        int err;
        struct resource *r;
@@ -272,7 +272,7 @@ static int __devinit rdc321x_wdt_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit rdc321x_wdt_remove(struct platform_device *pdev)
+static int rdc321x_wdt_remove(struct platform_device *pdev)
 {
        if (rdc321x_wdt_device.queue) {
                rdc321x_wdt_device.queue = 0;
@@ -286,7 +286,7 @@ static int __devexit rdc321x_wdt_remove(struct platform_device *pdev)
 
 static struct platform_driver rdc321x_wdt_driver = {
        .probe = rdc321x_wdt_probe,
-       .remove = __devexit_p(rdc321x_wdt_remove),
+       .remove = rdc321x_wdt_remove,
        .driver = {
                .owner = THIS_MODULE,
                .name = "rdc321x-wdt",