]> 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)
commitd85aa9f419f238c3ff22c08cba542edfa8665611
tree92b92fd053d8736f5709cb99ef6ad2f390803ccf
parentb6ca5bfb4aeab4342a30131c391b6170f6abaaf8
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