On 8/25/24 1:22 AM, Manivannan Sadhasivam wrote:
On Thu, Aug 22, 2024 at 02:36:06PM -0700, Bart Van Assche wrote:
Move the ufshcd_device_init() call to the ufshcd_probe_hba() callers and
remove the 'init_dev_params' argument of ufshcd_probe_hba(). This change
refactors the code without modifying the behavior of the UFSHCI driver.
I don't see an explanation on why this refactoring is necessary though.
Especially when you move it to callers.
Hi Mani,
I will add the following in the patch description: "This change prepares
for moving one ufshcd_device_init() call into ufshcd_init()."
Thanks,
Bart.