* [PATCH] i2c: viperboard: drop driver owner assignment
@ 2024-03-27 17:47 Krzysztof Kozlowski
2024-03-28 7:36 ` Andi Shyti
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-27 17:47 UTC (permalink / raw)
To: Andi Shyti, linux-i2c, linux-kernel; +Cc: Krzysztof Kozlowski
Core in platform_driver_register() already sets the .owner, so driver
does not need to.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/i2c/busses/i2c-viperboard.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c
index 9e153b5b0e8e..3784b07f5371 100644
--- a/drivers/i2c/busses/i2c-viperboard.c
+++ b/drivers/i2c/busses/i2c-viperboard.c
@@ -416,7 +416,6 @@ static void vprbrd_i2c_remove(struct platform_device *pdev)
static struct platform_driver vprbrd_i2c_driver = {
.driver.name = "viperboard-i2c",
- .driver.owner = THIS_MODULE,
.probe = vprbrd_i2c_probe,
.remove_new = vprbrd_i2c_remove,
};
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: viperboard: drop driver owner assignment
2024-03-27 17:47 [PATCH] i2c: viperboard: drop driver owner assignment Krzysztof Kozlowski
@ 2024-03-28 7:36 ` Andi Shyti
0 siblings, 0 replies; 2+ messages in thread
From: Andi Shyti @ 2024-03-28 7:36 UTC (permalink / raw)
To: linux-i2c, linux-kernel, Krzysztof Kozlowski
Hi
On Wed, 27 Mar 2024 18:47:05 +0100, Krzysztof Kozlowski wrote:
> Core in platform_driver_register() already sets the .owner, so driver
> does not need to.
>
>
Applied to i2c/i2c-host-next on
git://git.kernel.org/pub/scm/linux/kernel/git/local tree
Thank you,
Andi
Patches applied
===============
[1/1] i2c: viperboard: drop driver owner assignment
commit: bfced8e642d8e221a765b4d97ce7705cfa63b9a6
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-28 7:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 17:47 [PATCH] i2c: viperboard: drop driver owner assignment Krzysztof Kozlowski
2024-03-28 7:36 ` Andi Shyti
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.