[MTD] mtdoops: fix a bit of spin lock usage
commit48ec00ac895074f8a47bda8f3925ccaa46abb7a8
authorAdrian Hunter <adrian.hunter@nokia.com>
Wed, 4 Mar 2009 07:53:40 +0000 (4 09:53 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 20 Mar 2009 18:39:25 +0000 (20 18:39 +0000)
treeed31424afc0b44d209185ff24e0852d9e321f86d
parente2a0f25b4f520adbd82c0caafcde0470ed11053d
[MTD] mtdoops: fix a bit of spin lock usage

- do not leave spin lock locked
- initialise spin lock

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdoops.c