diff options
| author | Can Guo <[email protected]> | 2021-01-20 02:04:22 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-01-20 22:23:23 -0500 |
| commit | 4543d9d78227f0de0056e06427303618c2adac65 (patch) | |
| tree | 1f2756b93f28ea1db40caa99645de9b004dff01e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 0e9d4ca43ba8112821397f56a26d20682001c011 (diff) | |
scsi: ufs: Refactor ufshcd_init/exit_clk_scaling/gating()
ufshcd_hba_exit() is always called after ufshcd_exit_clk_scaling() and
ufshcd_exit_clk_gating(). Move ufshcd_exit_clk_scaling/gating() to
ufshcd_hba_exit(). Meanwhile, add dedicated functions to initialize
and remove sysfs nodes of clock scaling/gating to make the code more
readable. Overall functionality remains same.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Stanley Chu <[email protected]>
Signed-off-by: Can Guo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions