apm_power: check I.intval for zero value, we use it as the divisor
authorAnton Vorontsov <cbouatmailru@gmail.com>
Sat, 12 Jan 2008 23:44:54 +0000 (02:44 +0300)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 1 Feb 2008 23:44:34 +0000 (02:44 +0300)
commite91926e9ea9073d8ce95b74602e8c2d775f5a793
tree2aca23d48ea90ab9d78fc38ce9b5abdf4e0d461f
parentae4bb152901e406074ae2a205e1c42941a46bbaf
apm_power: check I.intval for zero value, we use it as the divisor

Signed-off-by: Anton Vorontsov <cbou@mail.ru>
drivers/power/apm_power.c