[PATCH v1] ufs: core: adjust config_scsi_dev usage

Bart Van Assche bvanassche at acm.org
Tue Feb 20 09:17:59 PST 2024


On 2/20/24 01:42, peter.wang at mediatek.com wrote:
> Adjust the usage of config_scis_dev to mach the existing usage of
> other vops in ufs driver.

I'm not sure the above is sufficient as motivation to make this change.
Why to introduce the helper function ufshcd_vops_config_scsi_dev() since it
only has one caller? Is this patch really an improvement of the UFS driver
code base?

Thanks,

Bart.



More information about the Linux-mediatek mailing list