commit | 381345652fca688aeaa967c231e5075cf68d05b6 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Fri Dec 30 17:00:35 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:26:22 2012 +0000 |
tree | 5f23ecdd28165d15109c6fd7ad0c4c573f094707 | |
parent | 327cf2922b4edf0439b219469722d2a502e37349 [diff] |
mtd: do not use mtd->lock, unlock and is_locked directly Instead, call the corresponding MTD API function which will return '-EOPNOTSUPP' if the operation is not supported. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>