Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / ultra45_env.c
index 44136bb6d045469de09f4eaf302a8085f8b07eb7..fb3e69341c1bd72f82280c3904b891490a183132 100644 (file)
@@ -250,7 +250,7 @@ static const struct attribute_group env_group = {
        .attrs = env_attributes,
 };
 
-static int __devinit env_probe(struct platform_device *op)
+static int env_probe(struct platform_device *op)
 {
        struct env *p = kzalloc(sizeof(*p), GFP_KERNEL);
        int err = -ENOMEM;
@@ -291,7 +291,7 @@ out_free:
        goto out;
 }
 
-static int __devexit env_remove(struct platform_device *op)
+static int env_remove(struct platform_device *op)
 {
        struct env *p = platform_get_drvdata(op);
 
@@ -321,7 +321,7 @@ static struct platform_driver env_driver = {
                .of_match_table = env_match,
        },
        .probe          = env_probe,
-       .remove         = __devexit_p(env_remove),
+       .remove         = env_remove,
 };
 
 module_platform_driver(env_driver);