mtd: mtdblock: Use DEFINE_MUTEX() for mtdblks_lock
authorAxel Lin <axel.lin@gmail.com>
Fri, 3 Jun 2011 06:10:22 +0000 (14:10 +0800)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:01:59 +0000 (15:01 +0300)
commit7578ca927b1a2a0445c9a3166d05462b9ffd4c06
treed6020576a6d55239bf081ed9d169c27c1bdc4795
parent82e023ab4e144da7f83fe7e6c93a09be2f30ff07
mtd: mtdblock: Use DEFINE_MUTEX() for mtdblks_lock

mtdblks_lock can be initialized automatically with
DEFINE_MUTEX() rather than explicitly calling mutex_init().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/mtdblock.c