From: Brian Norris Date: Fri, 22 Jun 2012 23:35:44 +0000 (-0700) Subject: mtd: nand_bbt: use string library X-Git-Tag: v3.7-rc1~70^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=491ed06f334955578f0c43d298c46ea1a7ea9e1b;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed