diff options
author | 2022-04-20 09:03:52 +0000 | |
---|---|---|
committer | 2022-04-26 22:24:27 -0400 | |
commit | 75b8715e20a20bc7b4844835e4035543a2674200 (patch) | |
tree | a0bba4cb4dad9bfd7b8b0cb4bb213e801cfa90ee /drivers/scsi/mpi3mr/mpi3mr_debug.h | |
parent | scsi: megaraid: Fix error check return value of register_chrdev() (diff) | |
download | linux-dev-75b8715e20a20bc7b4844835e4035543a2674200.tar.xz linux-dev-75b8715e20a20bc7b4844835e4035543a2674200.zip |
scsi: ufs: Use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
Using pm_runtime_resume_and_get() to replace pm_runtime_get_sync() and
pm_runtime_put_noidle(). This change is just to simplify the code, no
actual functional changes.
Link: https://lore.kernel.org/r/20220420090353.2588804-1-chi.minghao@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi3mr_debug.h')
0 files changed, 0 insertions, 0 deletions