diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-12-14 20:23:58 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-12-19 02:51:14 +0100 |
commit | 45a2c87f28ad0ee8c286bb6dd5686bc54f5b7160 (patch) | |
tree | 7596bb7ec887123560f46c67bfe5b8284ef0fa58 /scripts/sorttable.h | |
parent | scsi: ufs: core: Rename ufshcd_auto_hibern8_enable() and make it static (diff) | |
download | linux-45a2c87f28ad0ee8c286bb6dd5686bc54f5b7160.tar.xz linux-45a2c87f28ad0ee8c286bb6dd5686bc54f5b7160.zip |
scsi: ufs: core: Simplify ufshcd_auto_hibern8_update()
Calls to ufshcd_auto_hibern8_update() are already serialized: this function
is either called if user space software is not running (preparing to
suspend) or from a single sysfs store callback function. Kernfs serializes
sysfs .store() callbacks. No functionality is changed.
Reviewed-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Reviewed-by: Can Guo <quic_cang@quicinc.com>
Cc: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20231214192416.3638077-3-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/sorttable.h')
0 files changed, 0 insertions, 0 deletions