From: Madhusudhan Chikkature Rajashekar Date: Tue, 29 Apr 2008 08:56:58 +0000 (+0530) Subject: Correction to BQ27000 battery device name X-Git-Tag: v2.6.26-omap1~123^2~139 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3643912aaf23100fc2376e943d5d8dd6dca32bb3;p=linux-2.6-omap-h63xx.git Correction to BQ27000 battery device name This patch changes the device name as the bq27000 chip is not omap specific. Signed-off-by: Madhusudhan Chikkature Acked-by: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/drivers/w1/slaves/w1_bq27000.c b/drivers/w1/slaves/w1_bq27000.c index 634dc7558ba..0e8a3f36d64 100644 --- a/drivers/w1/slaves/w1_bq27000.c +++ b/drivers/w1/slaves/w1_bq27000.c @@ -59,7 +59,7 @@ static int w1_bq27000_add_slave(struct w1_slave *sl) 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;