scsi: ufs: make ufshcd_is_{device_present, hba_active}() return bool
authorTomohiro Kusumi <tkusumi@tuxera.com>
Tue, 28 Mar 2017 13:49:24 +0000 (16:49 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 30 Mar 2017 02:42:21 +0000 (22:42 -0400)
commitc9e6010b4ef532db719c10464cf62fe2785aeeab
tree6e1ed9ff4d52921b061cd8a995e061398262ae8c
parenta28b259b43914b04746184cec318c67bded7234c
scsi: ufs: make ufshcd_is_{device_present, hba_active}() return bool

ufshcd driver generally uses bool for is_xxx type things instead of int,
so conform to its style.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c