From: Artem Bityutskiy Date: Thu, 29 Dec 2011 08:45:04 +0000 (+0200) Subject: mtd: do not use mtd->lock_user_prot_reg directly X-Git-Tag: v3.3-rc1~119^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2936b2af5562c8c66060e2bc2ae2e209d0acd3d;p=pandora-kernel.git mtd: do not use mtd->lock_user_prot_reg directly Instead, check the -EOPNOTSUPP return code of 'mtd_lock_user_prot_reg()'. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed