Commit c61516af authored by Jagadeesh Bhaskar Pakaravoor's avatar Jagadeesh Bhaskar Pakaravoor Committed by Tony Lindgren

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: default avatarJagadeesh Bhaskar Pakaravoor <j-pakaravoor@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 21f8e721
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment