thermal/drivers/spear: Don't use tz->device but pdev->dev
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 1 Mar 2023 20:14:39 +0000 (21:14 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Mar 2023 19:45:02 +0000 (20:45 +0100)
commit25e43976b215b7634224afe9bc21270f4222aa4f
treeb978cc8a8857a2c75bb013407e2824f1f403920f
parent072e35c98806100182c0a7263cf4cba09ce43463
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>
drivers/thermal/spear_thermal.c