]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita09051186e8887e73bd4745dd073f72800836269
tree5a13c9aa7c2bf66fe91de919372a478d438af7d2
parent88593c7846502c55be407db3567ec7265cbdfab6
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