]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitead6b11ad8317c943e053928b495c2da217bffb6
tree7124935a78e92c84df8110a720a18c60fd366c13
parent5e1c6feecb70025e4887779aeef2677ff840dfc4
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