scsi: ufs: ufs-mediatek: Modify the return value
authorChanWoo Lee <cw9316.lee@samsung.com>
Fri, 18 Nov 2022 04:52:42 +0000 (13:52 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 26 Nov 2022 02:10:29 +0000 (02:10 +0000)
commit96a2dfa1df4b9df0cfa2e807153b4d254db2fa82
tree4724ae1a22898a15cd6a0686ba002d7ec2bfab57
parent541555285339313e831f8e446c03a7994c604d65
scsi: ufs: ufs-mediatek: Modify the return value

Be consistent with the rest of driver wrt. functions returning bool.

  91:  return !!(host->caps & UFS_MTK_CAP_BOOST_CRYPT_ENGINE);
  98:  return !!(host->caps & UFS_MTK_CAP_VA09_PWR_CTRL);
  105: return !!(host->caps & UFS_MTK_CAP_BROKEN_VCC);

Signed-off-by: ChanWoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20221118045242.2770-1-cw9316.lee@samsung.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-mediatek.c