mtd: nand: switch `check_pattern()' to standard `memcmp()'
authorBrian Norris <computersforpeace@gmail.com>
Wed, 7 Sep 2011 20:13:41 +0000 (13:13 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 21 Sep 2011 06:19:08 +0000 (09:19 +0300)
commit75b66d8ccd5772b00a7328c2cf75bc506ec532a1
treebf9a20d281e7501c3ea1d344e1da3ab141bf2f27
parent6d77b9d0af57409c918ab9501866233082546ba6
mtd: nand: switch `check_pattern()' to standard `memcmp()'

A portion of the `check_pattern()' function is basically a `memcmp()'.
Since it's possible for `memcmp()' to be optimized for a particular
architecture, we should use it instead.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
drivers/mtd/nand/nand_bbt.c