浏览代码

powerpc: platforms: 52xx: 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 年之前
父节点
当前提交
ef0e201fc1
共有 2 个文件被更改,包括 0 次插入2 次删除
  1. 0 1
      arch/powerpc/platforms/52xx/mpc52xx_gpt.c
  2. 0 1
      arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c

+ 0 - 1
arch/powerpc/platforms/52xx/mpc52xx_gpt.c

@@ -782,7 +782,6 @@ static const struct of_device_id mpc52xx_gpt_match[] = {
 static struct platform_driver mpc52xx_gpt_driver = {
 	.driver = {
 		.name = "mpc52xx-gpt",
-		.owner = THIS_MODULE,
 		.of_match_table = mpc52xx_gpt_match,
 	},
 	.probe = mpc52xx_gpt_probe,

+ 0 - 1
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c

@@ -572,7 +572,6 @@ static const struct of_device_id mpc52xx_lpbfifo_match[] = {
 static struct platform_driver mpc52xx_lpbfifo_driver = {
 	.driver = {
 		.name = "mpc52xx-lpbfifo",
-		.owner = THIS_MODULE,
 		.of_match_table = mpc52xx_lpbfifo_match,
 	},
 	.probe = mpc52xx_lpbfifo_probe,