]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Correction to BQ27000 battery device name
authorMadhusudhan Chikkature Rajashekar <madhu.cr@ti.com>
Tue, 29 Apr 2008 08:56:58 +0000 (14:26 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 6 May 2008 22:16:38 +0000 (15:16 -0700)
This patch changes the device name as the bq27000 chip is not omap specific.

Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/w1/slaves/w1_bq27000.c

index 634dc7558ba1c9e831e1271913cfea16fa224e85..0e8a3f36d64458fcdfadd7c2a48edf03c8ae53be 100644 (file)
@@ -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;