commit | daf22c3c4444e10a852a2f460f5cb1a43038bd53 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon Nov 28 22:37:35 2011 +0800 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Fri Jan 06 05:00:30 2012 +0400 |
tree | 6762def93163d68fcfa1d548d357f75936b45e9c | |
parent | 68597986f7db9abbe380af3db6a34b6c83cdf302 [diff] |
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 <axel.lin@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>