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-tegra20-sflash.c | |
parent | 72c6293340bb2fea5ced8fdecc7d765fd6828731 (diff) | |
download | op-kernel-dev-14ac00e033c57983032993d3b7b3f70b16a9fdbd.zip op-kernel-dev-14ac00e033c57983032993d3b7b3f70b16a9fdbd.tar.gz |
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-tegra20-sflash.c')
-rw-r--r-- | drivers/spi/spi-tegra20-sflash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-tegra20-sflash.c b/drivers/spi/spi-tegra20-sflash.c index cd66fe7..b6558bb 100644 --- a/drivers/spi/spi-tegra20-sflash.c +++ b/drivers/spi/spi-tegra20-sflash.c @@ -608,7 +608,6 @@ static const struct dev_pm_ops slink_pm_ops = { static struct platform_driver tegra_sflash_driver = { .driver = { .name = "spi-tegra-sflash", - .owner = THIS_MODULE, .pm = &slink_pm_ops, .of_match_table = tegra_sflash_of_match, }, |