Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8c174cd authored by Brian Niebuhr's avatar Brian Niebuhr Committed by Sekhar Nori
Browse files

spi: davinci: setup the driver owner



Setup the owner member of the platform driver to THIS_MODULE
instead of leaving it NULL.

Signed-off-by: default avatarBrian Niebuhr <bniebuhr@efjohnson.com>
Tested-By: default avatarMichael Williamson <michael.williamson@criticallink.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 3f27b57c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1001,7 +1001,10 @@ static int __exit davinci_spi_remove(struct platform_device *pdev)
}

static struct platform_driver davinci_spi_driver = {
	.driver.name = "spi_davinci",
	.driver = {
		.name = "spi_davinci",
		.owner = THIS_MODULE,
	},
	.remove = __exit_p(davinci_spi_remove),
};