2024-03-30 21:10:07

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] pinctrl: sunxi: sun9i-a80-r: drop driver owner assignment

Core in platform_driver_register() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c b/drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c
index 919b6a20af83..5b4822f77d2a 100644
--- a/drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c
@@ -169,7 +169,6 @@ static struct platform_driver sun9i_a80_r_pinctrl_driver = {
.probe = sun9i_a80_r_pinctrl_probe,
.driver = {
.name = "sun9i-a80-r-pinctrl",
- .owner = THIS_MODULE,
.of_match_table = sun9i_a80_r_pinctrl_match,
},
};
--
2.34.1



2024-03-31 04:06:29

by Chen-Yu Tsai

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: sunxi: sun9i-a80-r: drop driver owner assignment

On Sun, Mar 31, 2024 at 5:10 AM Krzysztof Kozlowski
<[email protected]> wrote:
>
> Core in platform_driver_register() already sets the .owner, so driver
> does not need to.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Acked-by: Chen-Yu Tsai <[email protected]>

2024-04-04 11:40:38

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: sunxi: sun9i-a80-r: drop driver owner assignment

On Sat, Mar 30, 2024 at 10:09 PM Krzysztof Kozlowski
<[email protected]> wrote:

> Core in platform_driver_register() already sets the .owner, so driver
> does not need to.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Patch applied!

Yours,
Linus Walleij