[PATCH v3 0/3] Changes for ufshcd.c
From: Bean Huo
Date: Tue Oct 18 2022 - 14:16:59 EST
From: Bean Huo <beanhuo@xxxxxxxxxx>
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(-)
--
2.34.1