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>
This commit is contained in:
Jiapeng Chong 2024-11-11 14:54:25 +08:00 committed by Mark Brown
parent 3ec83a377a
commit c6d0529fb7
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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,
},
};