diff options
author | Bart Van Assche <[email protected]> | 2023-12-14 11:23:57 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-12-18 20:51:14 -0500 |
commit | bdf5c0bb4dd9e7a8a4423643e6c73a7114bd58d8 (patch) | |
tree | a9e1e7e6dc33b5d39ed2ea1a8aae2b7018338c3a /scripts/generate_rust_analyzer.py | |
parent | 26cdd6940c94cbd81cc524093bd689b061df58c4 (diff) |
scsi: ufs: core: Rename ufshcd_auto_hibern8_enable() and make it static
Rename ufshcd_auto_hibern8_enable() into ufshcd_configure_auto_hibern8()
since this function can enable or disable auto-hibernation. Since
ufshcd_auto_hibern8_enable() is only used inside the UFSHCI driver core,
declare it static. Additionally, move the definition of this function to
just before its first caller.
Suggested-by: Bao D. Nguyen <[email protected]>
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]
Reviewed-by: Peter Wang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions