mtd: mtdoops: refactor loop
authorBrian Norris <computersforpeace@gmail.com>
Fri, 11 May 2012 20:30:33 +0000 (13:30 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:02 +0000 (18:17 +0100)
commit9cb93fbb5e84a2749e4ad6fec5091d149323a3d4
tree12f9cb3f3ee6afef065f4d4c3d6e8f7abe6ac95f
parentd2d48480d16ab349ae5d4732b4d79ff48b4b4171
mtd: mtdoops: refactor loop

We can clean up the loop logic a bit, here. This refactoring was enabled
in part by:

 Commit bb4a09866 [mtdoops: clean-up new MTD API usage]

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