Skip to content
Commit bfde2662 authored by Anton Vorontsov's avatar Anton Vorontsov
Browse files

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: default avatarAnton Vorontsov <cbou@mail.ru>
parent dffd28a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment