ACPI / thermal: Use THERMAL_TRIPS_NONE macro to replace number
It's unreadable to pass "-1" as trip parameter directly to thermal_zone_bind_cooling_device(). Use THERMAL_TRIPS_NONE instead. Signed-off-by: NLan Tianyu <tianyu.lan@intel.com> Acked-by: NZhang Rui <rui.zhang@intel.com> Acked-by: NDurgadoss R <durgadoss.r@intel.com> Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing
想要评论请 注册 或 登录