Re: [PATCH v2] scsi: ufs: core: Simplify temperature exception event handling

From: Bart Van Assche
Date: Wed Jan 15 2025 - 12:56:08 EST


On 1/14/25 10:12 AM, Avri Altman wrote:
This commit simplifies the temperature exception event handling by
removing the `ufshcd_temp_exception_event_handler` function and directly
calling `ufs_hwmon_notify_event` in the `ufshcd_exception_event_handler`
function.

The `ufshcd_temp_exception_event_handler` function contained a
placeholder comment for platform vendors to add additional steps if
required. However, since its introduction a few years ago, no vendor has
added any additional steps. Therefore, the placeholder function is
removed to streamline the code.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>