apm_power: Add missing break statement
authorAnton Vorontsov <cbouatmailru@gmail.com>
Tue, 7 Sep 2010 20:10:26 +0000 (00:10 +0400)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 8 Sep 2010 10:35:10 +0000 (14:35 +0400)
commit1d220334d6a8a711149234dc5f98d34ae02226b8
tree7124935a78e92c84df8110a720a18c60fd366c13
parent77f4b9fe050d59a30c3b11e267289630bb13f56a
apm_power: Add missing break statement

The missing break statement causes wrong capacity calculation for
batteries that report energy.

Reported-by: d binderman <dcb314@hotmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/apm_power.c