scsi: ufs-mediatek: Assign arguments with correct type
authorStanley Chu <stanley.chu@mediatek.com>
Thu, 29 Oct 2020 11:57:45 +0000 (19:57 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Nov 2020 04:03:18 +0000 (23:03 -0500)
commita004147a33199c660bbb203f11a82703459bf9f9
tree941e17b214f3456bd6ffe23f7a9b01074836e513
parent0d88232010d5f40a8a31ff7b454e3f2594fd047f
scsi: ufs-mediatek: Assign arguments with correct type

In ufs_mtk_unipro_set_lpm(), use specific unsigned values as the argument
to invoke ufshcd_dme_set().

At the same time, change the name of ufs_mtk_unipro_set_pm() to
ufs_mtk_unipro_set_lpm() to align the naming convention in MediaTek UFS
driver.

Link: https://lore.kernel.org/r/20201029115750.24391-2-stanley.chu@mediatek.com
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-mediatek.c