]> git.kernelconcepts.de Git - karo-tx-linux.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)
commite30b46909bdf3ac8699a47cfd64b44fabc29f253
treee2ef8cde884a2ca2da3f5ee4eeff662cc0467dc1
parentbe72a4aa8ec1c13a55708bd0285106a5020ff72f
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