Skip to content

Commit

Permalink
spi: apple: Remove unnecessary .owner for apple_spi_driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiapeng Chong authored and Mark Brown committed Nov 11, 2024
1 parent 3ec83a3 commit c6d0529
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/spi/spi-apple.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,6 @@ static struct platform_driver apple_spi_driver = {
.probe = apple_spi_probe,
.driver = {
.name = "apple-spi",
.owner = THIS_MODULE,
.of_match_table = apple_spi_of_match,
},
};
Expand Down

0 comments on commit c6d0529

Please sign in to comment.