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>
This commit is contained in:
@@ -1224,7 +1224,6 @@ static const struct dev_pm_ops slink_pm_ops = {
|
||||
static struct platform_driver tegra_slink_driver = {
|
||||
.driver = {
|
||||
.name = "spi-tegra-slink",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &slink_pm_ops,
|
||||
.of_match_table = tegra_slink_of_match,
|
||||
},
|
||||
|
Reference in New Issue
Block a user