Skip to contentSkip to conversation

Correction to BQ27000 battery device name

PATCH In review Madhusudhan Chikkature Rajashekar 3 participants 3 messages Apr 29, 2008 – May 6, 2008 W1 dallas's 1-wire bus

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Correction to BQ27000 battery device name

This patch changes the device name as the bq27000 chip is not omap specific.

---
 drivers/w1/slaves/w1_bq27000.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/w1/slaves/w1_bq27000.c +1 -1
Index: linux-omap-2.6/drivers/w1/slaves/w1_bq27000.c
===================================================================
@@ -59,7 +59,7 @@
 	int id = 1;
 	struct platform_device *pdev;
 
-	pdev = platform_device_alloc("omap-bq2700-battery", id);
+	pdev = platform_device_alloc("bq27000-battery", id);
 	if (!pdev) {
 		ret = -ENOMEM;
 		return ret;
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Madhusudhan Chikkature Rajashekar

This patch changes the device name as the bq27000 chip is not omap specific.

Sure this is not omap-specific. A more generic name is better ;-)

Quoted 2 lines
Quoted 25 lines
---
 drivers/w1/slaves/w1_bq27000.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-omap-2.6/drivers/w1/slaves/w1_bq27000.c
===================================================================
--- linux-omap-2.6.orig/drivers/w1/slaves/w1_bq27000.c 2008-04-29
11:22:42.000000000 +0530
+++ linux-omap-2.6/drivers/w1/slaves/w1_bq27000.c 2008-04-29
11:25:17.963079042 +0530

drivers/w1/slaves/w1_bq27000.c +1 -2
@@ -59,7 +59,7 @@
 	int id = 1;
 	struct platform_device *pdev;
 
-	pdev = platform_device_alloc("omap-bq2700-battery", id);
+	pdev = platform_device_alloc("bq27000-battery", id);
 	if (!pdev) {
 		ret = -ENOMEM;
 		return ret;
 
--

To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 5 lines
Best Regards,

Felipe Balbi
http://felipebalbi.com
[email protected]
#2 lore raw
Quoted 8 lines · Felipe Balbi
Quoted 2 lines · Madhusudhan Chikkature Rajashekar

This patch changes the device name as the bq27000 chip is not omap specific.

Sure this is not omap-specific. A more generic name is better ;-)

Pushing.

Tony

Quoted 36 lines
Quoted 3 lines
Quoted 25 lines
---
 drivers/w1/slaves/w1_bq27000.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-omap-2.6/drivers/w1/slaves/w1_bq27000.c
===================================================================
--- linux-omap-2.6.orig/drivers/w1/slaves/w1_bq27000.c 2008-04-29
11:22:42.000000000 +0530
+++ linux-omap-2.6/drivers/w1/slaves/w1_bq27000.c 2008-04-29
11:25:17.963079042 +0530

drivers/w1/slaves/w1_bq27000.c +1 -2
@@ -59,7 +59,7 @@
 	int id = 1;
 	struct platform_device *pdev;
 
-	pdev = platform_device_alloc("omap-bq2700-battery", id);
+	pdev = platform_device_alloc("bq27000-battery", id);
 	if (!pdev) {
 		ret = -ENOMEM;
 		return ret;
 
--

To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 5 lines
Best Regards,

Felipe Balbi
http://felipebalbi.com
[email protected]