From: Artem Bityutskiy Date: Thu, 29 Dec 2011 08:06:32 +0000 (+0200) Subject: mtd: do not use mtd->read_*_prot_reg directly X-Git-Tag: v3.3-rc1~119^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6de3d6cb63427178c4f1df88b81d1ceee637e6f;p=pandora-kernel.git mtd: do not use mtd->read_*_prot_reg directly Instead, call 'mtd_read_*_prot_info()' and check for -EOPNOTSUPP. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed