aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1174-fix-remove-unused-model-name-bq27000.patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1174-fix-remove-unused-model-name-bq27000.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1174-fix-remove-unused-model-name-bq27000.patch.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1174-fix-remove-unused-model-name-bq27000.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1174-fix-remove-unused-model-name-bq27000.patch.patch
new file mode 100644
index 0000000000..abef92f2ae
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1174-fix-remove-unused-model-name-bq27000.patch.patch
@@ -0,0 +1,28 @@
+From e2a0bda68cf6f2511f6faabf922183c2454f84fa Mon Sep 17 00:00:00 2001
+From: Andy Green <andy@openmoko.com>
+Date: Wed, 2 Jul 2008 22:38:26 +0100
+Subject: [PATCH] fix-remove-unused-model-name-bq27000.patch
+
+Model name isn't in the bq27000 register set, remove the
+claim that we can deliver it
+
+Signed-off-by: Andy Green <andy@openmoko.com>
+---
+ drivers/power/bq27000_battery.c | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/power/bq27000_battery.c b/drivers/power/bq27000_battery.c
+index cf57dcf..4511e9c 100644
+--- a/drivers/power/bq27000_battery.c
++++ b/drivers/power/bq27000_battery.c
+@@ -269,7 +269,6 @@ static enum power_supply_property bq27000_battery_props[] = {
+ POWER_SUPPLY_PROP_PRESENT,
+ POWER_SUPPLY_PROP_TIME_TO_EMPTY_NOW,
+ POWER_SUPPLY_PROP_TIME_TO_FULL_NOW,
+- POWER_SUPPLY_PROP_MODEL_NAME,
+ POWER_SUPPLY_PROP_CAPACITY
+ };
+
+--
+1.5.6.5
+