mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
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:
parent
3ec83a377a
commit
c6d0529fb7
@ -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,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user