From: Jagadeesh Bhaskar Pakaravoor Date: Tue, 14 Oct 2008 06:07:14 +0000 (+0530) Subject: twl4030-usb: rename twl4030_driver to twl4030_usb_driver. X-Git-Tag: v2.6.27-omap1~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c61516af59f3fdfc63d6c0b9e25d9e942929db93;p=linux-2.6-omap-h63xx.git twl4030-usb: rename twl4030_driver to twl4030_usb_driver. 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 Signed-off-by: Tony Lindgren --- diff --git a/drivers/i2c/chips/twl4030-usb.c b/drivers/i2c/chips/twl4030-usb.c index f0d10772850..f9673539b99 100644 --- a/drivers/i2c/chips/twl4030-usb.c +++ b/drivers/i2c/chips/twl4030-usb.c @@ -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);