Chris Packham 6a08a2f127 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>
2019-07-07 20:39:16 +02:00
..
2019-07-06 22:51:56 +02:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2019-01-07 14:06:24 +01:00
2018-06-12 16:19:22 -07:00