OSDN Git Service

thermal: intel: intel_pch: Fold two functions into their callers
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Jan 2023 19:03:11 +0000 (20:03 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Feb 2023 20:04:01 +0000 (21:04 +0100)
commit35c87f948d315ebc820a8784a962a506c1a3d299
treef80273678989cff3448932b8b6cb31b454321567
parent86cb1004b6f71b2f79f5fb08502a5bd10c852bf5
thermal: intel: intel_pch: Fold two functions into their callers

Fold two functions, pch_hw_init() and pch_get_temp(), that each have
only one caller, into their respective callers to make the code somewhat
easier to follow.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/intel/intel_pch_thermal.c