UPSTREAM: scsi: ufs: Introduce device parameter initialization function
Nowadays many vendors initialize their device parameters in their own vendor drivers. The initialization code is almost the same as well as the pre-defined definitions. Introduce a common device parameter initialization function which assign the most common initial values. With this function, we could remove those duplicated codes in vendor drivers. Link: https://lore.kernel.org/r/20201116065054.7658-3-stanley.chu@mediatek.com Reviewed-by:Bean Huo <beanhuo@micron.com> Signed-off-by:
Stanley Chu <stanley.chu@mediatek.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> (cherry picked from commit 65858014) Bug: 204438323 Change-Id: Ib64ea3e3e45e9702c8416807884442eefef4f486 Signed-off-by:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment