[PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks
[deliverable/linux.git] / drivers / hwmon / hdaps.c
index 7f0107613827bcacc209fbb4f806dba28cdad747..0015da5668a181aa8f9956cc59539c49483c3d95 100644 (file)
@@ -296,11 +296,9 @@ static int hdaps_probe(struct device *dev)
        return 0;
 }
 
-static int hdaps_resume(struct device *dev, u32 level)
+static int hdaps_resume(struct device *dev)
 {
-       if (level == RESUME_ENABLE)
-               return hdaps_device_init();
-       return 0;
+       return hdaps_device_init();
 }
 
 static struct device_driver hdaps_driver = {
This page took 0.023354 seconds and 5 git commands to generate.