diff options
author | Avri Altman <avri.altman@wdc.com> | 2025-01-14 21:12:05 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-01-21 20:20:45 +0300 |
commit | 8c09f612b2937da109ed0df583ace3a29fc95a93 (patch) | |
tree | a115820e833cd59db194233a6f48fce8bc7bb601 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c9d2782988df354b5a2db00be93920b4ecdde7a2 (diff) | |
download | linux-8c09f612b2937da109ed0df583ace3a29fc95a93.tar.xz |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions