mtd: nand: use more reasonable integer types
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 13 Mar 2013 11:45:00 +0000 (13:45 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:15:00 +0000 (13:15 +0100)
commitecb42fea59cf2d1e7160c5c7e707120e0e6714db
tree0692bedc13568083615385f997a41342de879190
parent97135118bd6a5fb86a7e3a28a50de10b97192ced
mtd: nand: use more reasonable integer types

Use 'unsigned int' instead of 'unsigned long' in the NAND chip description data
structure, because 32-bits is more than enough for our purposes. We do not need
64-bits, which is what we end up on 64-bit architectures. We declare many
instances of this data structure, so this should help saving some amount of
memory.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/nand.h