Commit bdf5c0b
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]>1 parent 26cdd69 commit bdf5c0b
2 files changed
+11
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4413 | 4413 | | |
4414 | 4414 | | |
4415 | 4415 | | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
| 4419 | + | |
| 4420 | + | |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
4416 | 4424 | | |
4417 | 4425 | | |
4418 | 4426 | | |
| |||
4432 | 4440 | | |
4433 | 4441 | | |
4434 | 4442 | | |
4435 | | - | |
| 4443 | + | |
4436 | 4444 | | |
4437 | 4445 | | |
4438 | 4446 | | |
4439 | 4447 | | |
4440 | 4448 | | |
4441 | 4449 | | |
4442 | | - | |
4443 | | - | |
4444 | | - | |
4445 | | - | |
4446 | | - | |
4447 | | - | |
4448 | | - | |
4449 | | - | |
4450 | 4450 | | |
4451 | 4451 | | |
4452 | 4452 | | |
| |||
8953 | 8953 | | |
8954 | 8954 | | |
8955 | 8955 | | |
8956 | | - | |
8957 | | - | |
| 8956 | + | |
8958 | 8957 | | |
8959 | 8958 | | |
8960 | 8959 | | |
| |||
9956 | 9955 | | |
9957 | 9956 | | |
9958 | 9957 | | |
9959 | | - | |
9960 | | - | |
| 9958 | + | |
9961 | 9959 | | |
9962 | 9960 | | |
9963 | 9961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1371 | 1371 | | |
1372 | 1372 | | |
1373 | 1373 | | |
1374 | | - | |
1375 | 1374 | | |
1376 | 1375 | | |
1377 | 1376 | | |
| |||
0 commit comments