Commit 45a2c87
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 <[email protected]>
Reviewed-by: Can Guo <[email protected]>
Cc: Avri Altman <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>1 parent bdf5c0b commit 45a2c87
1 file changed
+4
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4423 | 4423 | | |
4424 | 4424 | | |
4425 | 4425 | | |
4426 | | - | |
4427 | | - | |
| 4426 | + | |
4428 | 4427 | | |
4429 | | - | |
| 4428 | + | |
4430 | 4429 | | |
4431 | 4430 | | |
4432 | | - | |
4433 | | - | |
4434 | | - | |
4435 | | - | |
4436 | | - | |
4437 | | - | |
4438 | | - | |
4439 | | - | |
4440 | | - | |
| 4431 | + | |
| 4432 | + | |
4441 | 4433 | | |
4442 | 4434 | | |
4443 | 4435 | | |
| |||
0 commit comments