1 From cfea911c6c57eebdfc1358ee47b3730514da6cf3 Mon Sep 17 00:00:00 2001
2 From: \\\"Mike (mwester)\\ <mwester@dls.net>
3 Date: Wed, 19 Nov 2008 13:11:56 +0000
4 Subject: [PATCH] change-gta01-battery-driver-name.patch
6 [Can this be added to "stable" please? Thanks! Simple, short,
7 non-descriptive names seem to be the norm for the nodes beneath
8 /sys/classes/power_supply, so there seems to be no reason to do
9 differently for the GTA01, especially when doing so adds an
10 unnecessary incompatibility.]
12 change-gta01-battery-driver-name.patch
14 This patch changes the name of the gta01 battery driver to "bat"
15 in order to maintain compatability with the gta02 device.
17 Signed-off-by: Mike Westerhof <mwester@dls.net>
19 drivers/power/gta01_battery.c | 2 +-
20 1 files changed, 1 insertions(+), 1 deletions(-)
22 diff --git a/drivers/power/gta01_battery.c b/drivers/power/gta01_battery.c
23 index 5acb45c..2267ecf 100644
24 --- a/drivers/power/gta01_battery.c
25 +++ b/drivers/power/gta01_battery.c
26 @@ -70,7 +70,7 @@ static int __init gta01_bat_init(void)
30 - bat_pdev = platform_device_register_simple("gta01-battery", 0, NULL, 0);
31 + bat_pdev = platform_device_register_simple("bat", 0, NULL, 0);
33 return PTR_ERR(bat_pdev);