diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:36 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:36 +0200 |
commit | 14ac00e033c57983032993d3b7b3f70b16a9fdbd (patch) | |
tree | 761a4ad70eecc669e2ff2aef21701fc7bc4e267f /drivers/spi/spi-mpc52xx.c | |
parent | soc: ti: drop owner assignment from platform_drivers (diff) | |
download | linux-14ac00e033c57983032993d3b7b3f70b16a9fdbd.tar.xz linux-14ac00e033c57983032993d3b7b3f70b16a9fdbd.zip |
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-mpc52xx.c')
-rw-r--r-- | drivers/spi/spi-mpc52xx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-mpc52xx.c b/drivers/spi/spi-mpc52xx.c index b07db4b62d80..c36002110c30 100644 --- a/drivers/spi/spi-mpc52xx.c +++ b/drivers/spi/spi-mpc52xx.c @@ -543,7 +543,6 @@ MODULE_DEVICE_TABLE(of, mpc52xx_spi_match); static struct platform_driver mpc52xx_spi_of_driver = { .driver = { .name = "mpc52xx-spi", - .owner = THIS_MODULE, .of_match_table = mpc52xx_spi_match, }, .probe = mpc52xx_spi_probe, |