Browse Source

usb: musb: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Wolfram Sang 10 years ago
parent
commit
59a9e07b0b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/usb/musb/musb_core.c

+ 0 - 1
drivers/usb/musb/musb_core.c

@@ -2362,7 +2362,6 @@ static struct platform_driver musb_driver = {
 	.driver = {
 	.driver = {
 		.name		= (char *)musb_driver_name,
 		.name		= (char *)musb_driver_name,
 		.bus		= &platform_bus_type,
 		.bus		= &platform_bus_type,
-		.owner		= THIS_MODULE,
 		.pm		= MUSB_DEV_PM_OPS,
 		.pm		= MUSB_DEV_PM_OPS,
 	},
 	},
 	.probe		= musb_probe,
 	.probe		= musb_probe,