summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2024-11-11 14:54:25 +0800
committerMark Brown <broonie@kernel.org>2024-11-11 11:47:12 +0000
commitc6d0529fb70c14e3ea67ac70211ed4359bbac99d (patch)
treed378cb21f900b78e668d36d04c8d851002b6a90c
parent3ec83a377a995559c18880ff780a6873df9cc5d3 (diff)
downloadlinux-c6d0529fb70c14e3ea67ac70211ed4359bbac99d.tar.gz
linux-c6d0529fb70c14e3ea67ac70211ed4359bbac99d.tar.bz2
linux-c6d0529fb70c14e3ea67ac70211ed4359bbac99d.zip
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>
-rw-r--r--drivers/spi/spi-apple.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-apple.c b/drivers/spi/spi-apple.c
index 1ce91cea89be..d4b126c8701a 100644
--- a/drivers/spi/spi-apple.c
+++ b/drivers/spi/spi-apple.c
@@ -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,
},
};