Browse Source

ARM: mach-u300: 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
67cfdbc4dc
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/arm/mach-u300/regulator.c

+ 0 - 1
arch/arm/mach-u300/regulator.c

@@ -116,7 +116,6 @@ static const struct of_device_id s365_board_match[] = {
 static struct platform_driver s365_board_driver = {
 	.driver		= {
 		.name   = "s365-board",
-		.owner  = THIS_MODULE,
 		.of_match_table = s365_board_match,
 	},
 };