]> git.baikalelectronics.ru Git - kernel.git/commit
pda_power: various cleanups
authorAnton Vorontsov <cbouatmailru@gmail.com>
Sat, 12 Jan 2008 23:39:17 +0000 (02:39 +0300)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 1 Feb 2008 23:44:34 +0000 (02:44 +0300)
commit1385c8075918226a80dc0c91241ad748e950a48e
treedc37db66ff0ec400ffa18ba0e2f625aec8c50951
parent36ca8af097abef4bd4199132d9a3d4d2523b4e9b
pda_power: various cleanups

- handle spurious interrupts correctly;
- get rid of pda_power_supplies array, use two variables instead;
- factor out psy_changed() function, it will be used for polling.

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