Commit:     0bde7eee9489cc7cce08cf6eba05b4f42a6b2334
Parent:     508df92d1f8d1921013cb4f45bb547d0eaff912a
Author:     Alexey Starikovskiy <[EMAIL PROTECTED]>
AuthorDate: Sun Oct 28 15:33:10 2007 +0300
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Mon Oct 29 16:33:22 2007 -0400

    ACPI: battery: Support for non-spec name for LiIon technology
    Support Li-Ion as possible name for technology.
    Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
 drivers/acpi/battery.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index 489d338..74caa07 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -125,6 +125,8 @@ static int acpi_battery_technology(struct acpi_battery 
                return POWER_SUPPLY_TECHNOLOGY_NiMH;
        if (!strcasecmp("LION", battery->type))
                return POWER_SUPPLY_TECHNOLOGY_LION;
+       if (!strcasecmp("LI-ION", battery->type))
+               return POWER_SUPPLY_TECHNOLOGY_LION;
        if (!strcasecmp("LiP", battery->type))
                return POWER_SUPPLY_TECHNOLOGY_LIPO;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to