Hi Martin, This patch series addresses the following issues in the UFS driver initialization code: * The legacy and MCQ scsi_add_host() calls occur in different functions. This patch series reduces the number of scsi_add_host() calls from two to one. * Two functions have a boolean 'init_dev_params' argument. This patch series removes that argument from both functions by splitting functions and by pushing some function calls from caller into callee. Please consider this patch series for the next merge window. Thanks, Bart. Changes compared to v1: - Fixed a compiler warning reported by the kernel build robot. - Improved patch descriptions. Bart Van Assche (9): ufs: core: Introduce ufshcd_add_scsi_host() ufs: core: Introduce ufshcd_activate_link() ufs: core: Introduce ufshcd_post_device_init() ufs: core: Call ufshcd_add_scsi_host() later ufs: core: Move the ufshcd_device_init() call ufs: core: Move the ufshcd_device_init(hba, true) call ufs: core: Expand the ufshcd_device_init(hba, true) call ufs: core: Move the MCQ scsi_add_host() call ufs: core: Remove the second argument of ufshcd_device_init() drivers/ufs/core/ufshcd.c | 269 ++++++++++++++++++++++---------------- 1 file changed, 154 insertions(+), 115 deletions(-)