summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/ufs-mediatek.h
diff options
context:
space:
mode:
authorStanley Chu <stanley.chu@mediatek.com>2020-11-16 14:50:47 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-11-17 01:03:18 -0500
commit65858014ee20c842eaff65514e75d2c640c70007 (patch)
tree0e7fc38ae91a13e62a155bfbcf0df2ca0f1ac17d /drivers/scsi/ufs/ufs-mediatek.h
parent54770cbebe2caa89423a13ff32fa0d497c392214 (diff)
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>
Diffstat (limited to 'drivers/scsi/ufs/ufs-mediatek.h')
0 files changed, 0 insertions, 0 deletions