wm97xx_battery: Use DEFINE_MUTEX() for work_lock
authorAxel Lin <axel.lin@gmail.com>
Mon, 28 Nov 2011 14:37:35 +0000 (22:37 +0800)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 6 Jan 2012 01:00:30 +0000 (05:00 +0400)
work_lock can be initialized automatically with
DEFINE_MUTEX() rather than explicitly calling mutex_init().

This patch also removes an unused bat_lock mutex.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>

No differences found