diff options
Diffstat (limited to 'drivers/thermal/spear_thermal.c')
-rw-r--r-- | drivers/thermal/spear_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c index 5f8ee39f2000..9bc969261d01 100644 --- a/drivers/thermal/spear_thermal.c +++ b/drivers/thermal/spear_thermal.c | |||
@@ -147,7 +147,7 @@ static int spear_thermal_probe(struct platform_device *pdev) | |||
147 | writel_relaxed(stdev->flags, stdev->thermal_base); | 147 | writel_relaxed(stdev->flags, stdev->thermal_base); |
148 | 148 | ||
149 | spear_thermal = thermal_zone_device_register("spear_thermal", 0, 0, | 149 | spear_thermal = thermal_zone_device_register("spear_thermal", 0, 0, |
150 | stdev, &ops, 0, 0, 0, 0); | 150 | stdev, &ops, 0, 0); |
151 | if (IS_ERR(spear_thermal)) { | 151 | if (IS_ERR(spear_thermal)) { |
152 | dev_err(&pdev->dev, "thermal zone device is NULL\n"); | 152 | dev_err(&pdev->dev, "thermal zone device is NULL\n"); |
153 | ret = PTR_ERR(spear_thermal); | 153 | ret = PTR_ERR(spear_thermal); |