diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2022-10-15 03:24:16 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-10-18 06:17:09 +0300 |
| commit | 6d1aa3b0589bdd17a46ed74fbd2c2d0fc59038ff (patch) | |
| tree | b2cb77d0bbbe5501a7d91571e37f26a5a29a1d3a /tools/perf/scripts/python/bin | |
| parent | d460f624059266c2e7f0280bdd3ae806d4b75211 (diff) | |
| download | linux-6d1aa3b0589bdd17a46ed74fbd2c2d0fc59038ff.tar.xz | |
scsi: ufs: Simplify ufshcd_set_dev_pwr_mode()
Simplify the code for incrementing the SCSI device reference count in
ufshcd_set_dev_pwr_mode(). This commit removes one scsi_device_put() call
that happens from atomic context.
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20221015002418.30955-7-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
