Skip to content

Commit c6d0529

Browse files
Jiapeng Chongbroonie
authored andcommitted
spi: apple: Remove unnecessary .owner for apple_spi_driver
Remove .owner field if calls are used which set it automatically. ./drivers/spi/spi-apple.c:522:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11799 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Link: https://patch.msgid.link/20241111065425.103645-1-jiapeng.chong@linux.alibaba.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3ec83a3 commit c6d0529

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/spi/spi-apple.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,6 @@ static struct platform_driver apple_spi_driver = {
519519
.probe = apple_spi_probe,
520520
.driver = {
521521
.name = "apple-spi",
522-
.owner = THIS_MODULE,
523522
.of_match_table = apple_spi_of_match,
524523
},
525524
};

0 commit comments

Comments
 (0)