diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:54 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:54 +0200 |
commit | 98dc3b5edf2c194101fbea7631fc8e1852eadf03 (patch) | |
tree | 468a44986da033cadc1ac5eea27abcea5af550b9 | |
parent | 9bcde613eaa6b5bc2e2030b4ee40ffb9662327a6 (diff) |
misc: carma: 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>
-rw-r--r-- | drivers/misc/carma/carma-fpga-program.c | 1 | ||||
-rw-r--r-- | drivers/misc/carma/carma-fpga.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/carma/carma-fpga-program.c b/drivers/misc/carma/carma-fpga-program.c index 339b252fcedd..6fa52f71f51c 100644 --- a/drivers/misc/carma/carma-fpga-program.c +++ b/drivers/misc/carma/carma-fpga-program.c @@ -1091,7 +1091,6 @@ static struct platform_driver fpga_of_driver = { .driver = { .name = drv_name, .of_match_table = fpga_of_match, - .owner = THIS_MODULE, }, }; diff --git a/drivers/misc/carma/carma-fpga.c b/drivers/misc/carma/carma-fpga.c index 55e913b7eb11..cdf2d7b902bb 100644 --- a/drivers/misc/carma/carma-fpga.c +++ b/drivers/misc/carma/carma-fpga.c @@ -1433,7 +1433,6 @@ static struct platform_driver data_of_driver = { .driver = { .name = drv_name, .of_match_table = data_of_match, - .owner = THIS_MODULE, }, }; |