mtd: rawnand: denali: use bool type instead of int where appropriate
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 2 Apr 2019 04:03:05 +0000 (13:03 +0900)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 18 Apr 2019 06:54:03 +0000 (08:54 +0200)
commitf4f16fd3e7dcee033747b501f281238a65252c75
tree5a13c9aa7c2bf66fe91de919372a478d438af7d2
parentf55411427f1c649c598bf2cfc7653cfbe3f1e603
mtd: rawnand: denali: use bool type instead of int where appropriate

Use 'bool' type for the following boolean parameters.

 - write (write or read?)
 - dma_avail (DMA engine available or not?)

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/denali.h