thermal: core: Change governor name to const char pointer
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 30 Jan 2024 11:12:33 +0000 (12:12 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 2 Feb 2024 18:12:58 +0000 (19:12 +0100)
commitb377252eeec91f347cd538011f956a4fe73794b3
tree95e3752faa1ad22fa025a7283128cbd826bd4729
parent54d94009cb6f51d3ecd56bfc63c83e789c0b18b4
thermal: core: Change governor name to const char pointer

All users are already assigning a const char * to the `governor_name`
member of struct thermal_zone_params and to the `name` member of
struct thermal_governor.
Even if users are technically wrong, it just makes more sense to change
this member to be a const char pointer instead of doing the other way
around.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/thermal.h