diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:36 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:36 -0400 |
commit | 14ac00e033c57983032993d3b7b3f70b16a9fdbd (patch) | |
tree | 761a4ad70eecc669e2ff2aef21701fc7bc4e267f /drivers/spi/spi-omap2-mcspi.c | |
parent | 72c6293340bb2fea5ced8fdecc7d765fd6828731 (diff) |
spi: 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>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
-rw-r--r-- | drivers/spi/spi-omap2-mcspi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 352eed7463ac..3bc3cbabbbc0 100644 --- a/drivers/spi/spi-omap2-mcspi.c +++ b/drivers/spi/spi-omap2-mcspi.c | |||
@@ -1521,7 +1521,6 @@ static const struct dev_pm_ops omap2_mcspi_pm_ops = { | |||
1521 | static struct platform_driver omap2_mcspi_driver = { | 1521 | static struct platform_driver omap2_mcspi_driver = { |
1522 | .driver = { | 1522 | .driver = { |
1523 | .name = "omap2_mcspi", | 1523 | .name = "omap2_mcspi", |
1524 | .owner = THIS_MODULE, | ||
1525 | .pm = &omap2_mcspi_pm_ops, | 1524 | .pm = &omap2_mcspi_pm_ops, |
1526 | .of_match_table = omap_mcspi_of_match, | 1525 | .of_match_table = omap_mcspi_of_match, |
1527 | }, | 1526 | }, |