Skip to content

Commit 25e4397

Browse files
dlezcanorafaeljw
authored andcommitted
thermal/drivers/spear: Don't use tz->device but pdev->dev
Use the spear associated device instead of the thermal zone device which belongs to the thermal framework internals. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 072e35c commit 25e4397

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/thermal/spear_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static int spear_thermal_probe(struct platform_device *pdev)
137137

138138
platform_set_drvdata(pdev, spear_thermal);
139139

140-
dev_info(&spear_thermal->device, "Thermal Sensor Loaded at: 0x%p.\n",
140+
dev_info(&pdev->dev, "Thermal Sensor Loaded at: 0x%p.\n",
141141
stdev->thermal_base);
142142

143143
return 0;

0 commit comments

Comments
 (0)