1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-29 04:47:30 +02:00
Commit Graph

5 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
Jiejing.Zhang
5878098ab3 cleanup more about battery gpio and platform data 2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
7d446f792e Add 2.6.31 patches and files. 2009-10-28 03:13:13 +08:00