Commit 8c09f61
scsi: ufs: core: Simplify temperature exception event handling
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 ufshcd_exception_event_handler().
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@wdc.com>
Link: https://lore.kernel.org/r/20250114181205.153760-1-avri.altman@wdc.com
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent c9d2782 commit 8c09f61
1 file changed
+1
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5976 | 5976 | | |
5977 | 5977 | | |
5978 | 5978 | | |
5979 | | - | |
5980 | | - | |
5981 | | - | |
5982 | | - | |
5983 | | - | |
5984 | | - | |
5985 | | - | |
5986 | | - | |
5987 | | - | |
5988 | | - | |
5989 | | - | |
5990 | | - | |
5991 | | - | |
5992 | | - | |
5993 | | - | |
5994 | | - | |
5995 | | - | |
5996 | | - | |
5997 | 5979 | | |
5998 | 5980 | | |
5999 | 5981 | | |
| |||
6214 | 6196 | | |
6215 | 6197 | | |
6216 | 6198 | | |
6217 | | - | |
| 6199 | + | |
6218 | 6200 | | |
6219 | 6201 | | |
6220 | 6202 | | |
| |||
0 commit comments