]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: iwlwifi: mvm: Set THERMAL_TRIP_FLAG_RW_TEMP directly
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Feb 2024 18:38:07 +0000 (19:38 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Feb 2024 11:04:01 +0000 (12:04 +0100)
commit96c5330bf75839a31d6fdf953fade6e9fbf30bde
treee9bb200deb30d2447a2e11f17d29ea6634bbec76
parentc7ebf8e5d0681198347d515ff0702669b565d423
wifi: iwlwifi: mvm: Set THERMAL_TRIP_FLAG_RW_TEMP directly

It is now possible to flag trip points with THERMAL_TRIP_FLAG_RW_TEMP
to allow their temperature to be set from user space via sysfs instead
of using a nonzero writable trips mask during thermal zone registration,
so make the iwlwifi code do that.

No intentional functional impact.

Note that this change is requisite for dropping the mask argument from
thermal_zone_device_register_with_trips() going forward.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/net/wireless/intel/iwlwifi/mvm/tt.c