]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/omap-thermal/omap-thermal-common.c
Merge remote-tracking branch 'staging/staging-next'
[karo-tx-linux.git] / drivers / staging / omap-thermal / omap-thermal-common.c
index 15e9723ba4d62eea856201b6ffd49a45316cff61..61f1070c666777db427d2267dc1ab76d046ce29b 100644 (file)
@@ -270,7 +270,7 @@ int omap_thermal_expose_sensor(struct omap_bandgap *bg_ptr, int id,
        /* Create thermal zone */
        data->omap_thermal = thermal_zone_device_register(domain,
                                OMAP_TRIP_NUMBER, 0, data, &omap_thermal_ops,
-                               FAST_TEMP_MONITORING_RATE,
+                               NULL, FAST_TEMP_MONITORING_RATE,
                                FAST_TEMP_MONITORING_RATE);
        if (IS_ERR_OR_NULL(data->omap_thermal)) {
                dev_err(bg_ptr->dev, "thermal zone device is NULL\n");