[v3,0/3] Changes for ufshcd.c

Message ID 20221018181627.326657-1-beanhuo@iokpp.de
Headers
Series Changes for ufshcd.c |

Message

Bean Huo Oct. 18, 2022, 6:16 p.m. UTC
  From: Bean Huo <beanhuo@micron.com>

v2--v3:
    1. Add patch 3/3
    2. Add remove unused parameter param_offset in patch 1/3 based on Daejun's comment
    3. Further optimized patch 2/3 based on Bart's comment

v1--v2:
    1. change in ufshcd_lu_init() in  patch 2/2:
        1) Remove duplicate parameter initialization
        2) Move lun parameter initialization before kmalloc()

Bean Huo (3):
  scsi: ufs: core: Remove unnecessary if statement
  scsi: ufs: core: Cleanup ufshcd_slave_alloc()
  scsi: ufs: core: Use is_visible to control UFS unit descriptor sysfs
    nodes

 drivers/ufs/core/ufs-sysfs.c   |  21 ++++-
 drivers/ufs/core/ufshcd-priv.h |   6 +-
 drivers/ufs/core/ufshcd.c      | 155 ++++++++++++---------------------
 3 files changed, 77 insertions(+), 105 deletions(-)