diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2019-05-23 01:19:47 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-07-07 20:39:16 +0200 |
commit | 6a08a2f12781ca788759ff73acf1f36f6ae3f9b7 (patch) | |
tree | 7fb10893ff8afab15e9bfd7200c9ed58a15a71a6 /tools/laptop | |
parent | mtd: abi: do not use C++ style comments in uapi header (diff) | |
download | linux-6a08a2f12781ca788759ff73acf1f36f6ae3f9b7.tar.xz linux-6a08a2f12781ca788759ff73acf1f36f6ae3f9b7.zip |
mtd: concat: refactor concat_lock/concat_unlock
concat_lock() and concat_unlock() only differed in terms of the mtd_xx
operation they called. Refactor them to use a common helper function and
pass a boolean flag to indicate whether lock or unlock is needed.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tools/laptop')
0 files changed, 0 insertions, 0 deletions