* [PATCH -next] spi: apple: Remove unnecessary .owner for apple_spi_driver
@ 2024-11-11 6:54 Jiapeng Chong
2024-11-11 14:21 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2024-11-11 6:54 UTC (permalink / raw)
To: broonie; +Cc: linux-spi, linux-kernel, Jiapeng Chong, Abaci Robot
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>
---
drivers/spi/spi-apple.c | 1 -
1 file changed, 1 deletion(-)
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,
},
};
--
2.32.0.3.g01195cf9f
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH -next] spi: apple: Remove unnecessary .owner for apple_spi_driver
2024-11-11 6:54 [PATCH -next] spi: apple: Remove unnecessary .owner for apple_spi_driver Jiapeng Chong
@ 2024-11-11 14:21 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2024-11-11 14:21 UTC (permalink / raw)
To: Jiapeng Chong; +Cc: linux-spi, linux-kernel, Abaci Robot
On Mon, 11 Nov 2024 14:54:25 +0800, Jiapeng Chong wrote:
> 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.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: apple: Remove unnecessary .owner for apple_spi_driver
commit: c6d0529fb70c14e3ea67ac70211ed4359bbac99d
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-11 14:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-11 6:54 [PATCH -next] spi: apple: Remove unnecessary .owner for apple_spi_driver Jiapeng Chong
2024-11-11 14:21 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®