rk3368: support armoff
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / max197.c
index 6304f2616fa73128f556f2462c537f94dcf0a77a..b5ebb9198c757e17eaf114d5cf15f7c91a28e14f 100644 (file)
@@ -257,7 +257,7 @@ static const struct attribute_group max197_sysfs_group = {
        },
 };
 
-static int __devinit max197_probe(struct platform_device *pdev)
+static int max197_probe(struct platform_device *pdev)
 {
        int ch, ret;
        struct max197_data *data;
@@ -316,7 +316,7 @@ error:
        return ret;
 }
 
-static int __devexit max197_remove(struct platform_device *pdev)
+static int max197_remove(struct platform_device *pdev)
 {
        struct max197_data *data = platform_get_drvdata(pdev);
 
@@ -339,7 +339,7 @@ static struct platform_driver max197_driver = {
                .owner = THIS_MODULE,
        },
        .probe = max197_probe,
-       .remove = __devexit_p(max197_remove),
+       .remove = max197_remove,
        .id_table = max197_device_ids,
 };
 module_platform_driver(max197_driver);