diff options
| author | Stanley Chu <[email protected]> | 2020-05-08 16:01:15 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-05-11 22:48:47 -0400 |
| commit | 79e3520f82cb91e46e7db1af14ad916d6036dde8 (patch) | |
| tree | 79f55f88b1dc407f3056095b229626708743c417 /tools/perf/scripts/python/bin | |
| parent | 29060a629135a00414d6ea3fbb246a114898f4be (diff) | |
scsi: ufs: Cleanup WriteBooster feature
Small cleanup as below items,
1. Use ufshcd_is_wb_allowed() directly instead of ufshcd_wb_sup() since
ufshcd_wb_sup() just returns the result of ufshcd_is_wb_allowed().
2. In ufshcd_suspend(), "else if (!ufshcd_is_runtime_pm(pm_op)) can be
simplified to "else" since both have the same meaning.
This patch does not change any functionality.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Avri Altman <[email protected]>
Reviewed-by: Asutosh Das <[email protected]>
Signed-off-by: Stanley Chu <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions