From: Axel Lin Date: Mon, 28 Nov 2011 14:37:35 +0000 (+0800) Subject: wm97xx_battery: Use DEFINE_MUTEX() for work_lock X-Git-Tag: v3.3-rc1~98^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daf22c3c4444e10a852a2f460f5cb1a43038bd53;p=pandora-kernel.git wm97xx_battery: Use DEFINE_MUTEX() for work_lock 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 Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed