]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Remove the TRUE and FALSE definitions
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 Apr 2022 22:58:02 +0000 (15:58 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:23:03 +0000 (23:23 -0400)
commitfe35a5270cff2bbce676cb717205f9483b981d26
tree92b92fd053d8736f5709cb99ef6ad2f390803ccf
parent850dd33dd939f13632d14a1714859451125fb53b
scsi: ufs: Remove the TRUE and FALSE definitions

In the Linux kernel coding style document
(Documentation/process/coding-style.rst) it is recommended to use the type
'bool' and also the values 'true' and 'false'. Hence this patch that
removes the definitions and uses of TRUE and FALSE from the UFS driver.

Link: https://lore.kernel.org/r/20220419225811.4127248-20-bvanassche@acm.org
Tested-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-exynos.c
drivers/scsi/ufs/ufs-exynos.h
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/unipro.h