]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: denali: use int where no reason to use fixed width variable
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Mar 2017 20:07:08 +0000 (05:07 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 24 Mar 2017 08:51:41 +0000 (09:51 +0100)
commit9c09d0b6256281891b1ef60aadf76085bdb7aacd
treee2ef8cde884a2ca2da3f5ee4eeff662cc0467dc1
parent805baa7f64a24db57c6bdba20172e436e512f481
mtd: nand: denali: use int where no reason to use fixed width variable

The page number is generally stored in an integer type variable.
The uint16_t does not have enough width.  I see no reason to use
uint32_t for other members, either.  Just use int.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.h