mtd: nand: use NAND_HAS_CACHEPROG
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Mar 2013 12:56:18 +0000 (14:56 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 11:02:19 +0000 (12:02 +0100)
commit3239a6cdef0be60ec2dadc501cf385dc419d7452
tree2b01788af2e9554322d3dc2325416a54a22726f6
parent88ad4b162adb3821815d0098987040fca26c7d80
mtd: nand: use NAND_HAS_CACHEPROG

We have this unused macro, let's use it and justify its existence.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h