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

Commit 45afe28c authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman
Browse files

staging: mt7621-spi: Remove redundant owner assignment



Remove the owner assignment form the platform driver as
platform_driver_register() already initializes the owner.
Found using coccinelle.

Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f9538d44
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -475,7 +475,6 @@ MODULE_ALIAS("platform:" DRIVER_NAME);
static struct platform_driver mt7621_spi_driver = {
static struct platform_driver mt7621_spi_driver = {
	.driver = {
	.driver = {
		.name = DRIVER_NAME,
		.name = DRIVER_NAME,
		.owner = THIS_MODULE,
		.of_match_table = mt7621_spi_match,
		.of_match_table = mt7621_spi_match,
	},
	},
	.probe = mt7621_spi_probe,
	.probe = mt7621_spi_probe,