1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-25 17:13:44 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
Jiejing.Zhang
cd0d71a697 jz-battery: improve code. clear static var.
1. clear static global var, use platform_get_drvdata.
2. check gpio state before register power supply.

Signed-off-by: Jiejing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:28 +08:00
Jiejing.Zhang
c91cec083b jz_battery: improve driver code.
1. put all gobal var to a driver info struct.
2. check gpio before use it.

Signed-off-by: Jiejing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:28 +08:00
Lars-Peter Clausen
bdbda932b8 Compile fix jz4740-battery.c, use adc driver and some other minor cleanups.
Enable adc and battery.
2009-10-28 03:13:27 +08:00