commit | b6de3d6cb63427178c4f1df88b81d1ceee637e6f | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Thu Dec 29 10:06:32 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:26:16 2012 +0000 |
tree | 9e84f24ac14305246c6f38e885edbc9f48dfc089 | |
parent | 87e858a97e8a7010aedc01db7cd31cc7c02b0b6a [diff] |
mtd: do not use mtd->read_*_prot_reg directly Instead, call 'mtd_read_*_prot_info()' and check for -EOPNOTSUPP. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>