[PATCH] Driver Core: fix up all callers of class_device_create()
[deliverable/linux.git] / drivers / hwmon / hwmon.c
index 9b41c9bd805f561594fcc6fcf7d78923dad24490..6f48579799b588b456a59f18b41cccae19bc8d2b 100644 (file)
@@ -45,7 +45,7 @@ struct class_device *hwmon_device_register(struct device *dev)
                return ERR_PTR(-ENOMEM);
 
        id = id & MAX_ID_MASK;
-       cdev = class_device_create(hwmon_class, MKDEV(0,0), dev,
+       cdev = class_device_create(hwmon_class, NULL, MKDEV(0,0), dev,
                                        HWMON_ID_FORMAT, id);
 
        if (IS_ERR(cdev))
This page took 0.024939 seconds and 5 git commands to generate.