]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
twl4030-usb: rename twl4030_driver to twl4030_usb_driver.
authorJagadeesh Bhaskar Pakaravoor <j-pakaravoor@ti.com>
Tue, 14 Oct 2008 06:07:14 +0000 (11:37 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Oct 2008 22:08:00 +0000 (15:08 -0700)
The i2c_driver in twl4030-core.c and platform_driver of twl4030-usb.c
both has the name twl4030_driver. This leads to unnecessary confusion.

So rename the usb platform_driver appropriately to:
twl4030_usb_driver.

Signed-off-by: Jagadeesh Bhaskar Pakaravoor <j-pakaravoor@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/twl4030-usb.c

index f0d10772850cd9f75a78ff23a5b261690279349b..f9673539b99503a94a9a693b08b139c9e87b7aa3 100644 (file)
@@ -744,7 +744,7 @@ static int __exit twl4030_usb_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_driver twl4030_driver = {
+static struct platform_driver twl4030_usb_driver = {
        .probe          = twl4030_usb_probe,
        .remove         = __exit_p(twl4030_remove),
        .driver         = {
@@ -755,13 +755,13 @@ static struct platform_driver twl4030_driver = {
 
 static int __init twl4030_usb_init(void)
 {
-       return platform_driver_register(&twl4030_driver);
+       return platform_driver_register(&twl4030_usb_driver);
 }
 subsys_initcall(twl4030_usb_init);
 
 static void __exit twl4030_usb_exit(void)
 {
-       platform_driver_unregister(&twl4030_driver);
+       platform_driver_unregister(&twl4030_usb_driver);
 }
 module_exit(twl4030_usb_exit);