|
|
@@ -316,10 +316,9 @@ static int int3400_thermal_probe(struct platform_device *pdev)
|
|
|
|
|
|
platform_set_drvdata(pdev, priv);
|
|
|
|
|
|
- if (priv->uuid_bitmap & 1 << INT3400_THERMAL_PASSIVE_1) {
|
|
|
- int3400_thermal_ops.get_mode = int3400_thermal_get_mode;
|
|
|
- int3400_thermal_ops.set_mode = int3400_thermal_set_mode;
|
|
|
- }
|
|
|
+ int3400_thermal_ops.get_mode = int3400_thermal_get_mode;
|
|
|
+ int3400_thermal_ops.set_mode = int3400_thermal_set_mode;
|
|
|
+
|
|
|
priv->thermal = thermal_zone_device_register("INT3400 Thermal", 0, 0,
|
|
|
priv, &int3400_thermal_ops,
|
|
|
&int3400_thermal_params, 0, 0);
|