commit | 491ed06f334955578f0c43d298c46ea1a7ea9e1b | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Fri Jun 22 16:35:44 2012 -0700 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Sat Sep 29 14:51:13 2012 +0100 |
tree | 0522c7baadf16d60488c1861eef084b91c0b9b6f | |
parent | 7b5a2d40978fbb046b99b4030ce2785b66a451a5 [diff] |
mtd: nand_bbt: use string library Some nand_bbt code can be shortened by using memcmp() and memchr_inv(). As an added bonus, there is a possible performance benefit. Borrowed some code from Akinobu Mita. 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>