OSDN Git Service

thermal: intel: intel_pch: Fold suspend and resume routines into their callers
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Jan 2023 19:04:05 +0000 (20:04 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Feb 2023 20:06:09 +0000 (21:06 +0100)
commitc5f43242f48ac81d57f50592acf7d425640d9f83
tree765c9332d66e5bd6a1c1c68e3c9b1c88e1675f1c
parent35c87f948d315ebc820a8784a962a506c1a3d299
thermal: intel: intel_pch: Fold suspend and resume routines into their callers

Fold pch_suspend() and pch_resume(), 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