Re: [PATCH v2] scsi: ufs: core: Simplify temperature exception event handling
From: Bean Huo
Date: Wed Jan 15 2025 - 09:46:28 EST
On Tue, 2025-01-14 at 20:12 +0200, 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.
>
> Signed-off-by: Avri Altman <avri.altman@xxxxxxx>
at the moment, removing this is ok.
Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>