]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: imx: Drop critical trip check from imx_set_trip_temp()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 2 Jul 2024 14:43:36 +0000 (16:43 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Jul 2024 11:33:33 +0000 (13:33 +0200)
commit81caa5d519a2e5573e0763630a503def7cb480a5
tree0e2f33e580f0b330067b17b9fbbdfaeaee860adb
parentd1fbf18a0f9403df2edeffa1c7f5a2d66e82c20a
thermal: imx: Drop critical trip check from imx_set_trip_temp()

Because the IMX thermal driver does not flag its critical trip as
writable, imx_set_trip_temp() will never be invoked for it and so the
critical trip check can be dropped from there.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2272035.iZASKD2KPV@rjwysocki.net
drivers/thermal/imx_thermal.c