RE: [PATCH 11/12] net: ieee802154: adf7242: drop owner from driver

From: Hennerich, Michael
Date: Sun Mar 12 2023 - 07:33:07 EST




> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Sent: Samstag, 11. März 2023 18:33
> To: Andrew Lunn <andrew@xxxxxxx>; Florian Fainelli <f.fainelli@xxxxxxxxx>;
> Vladimir Oltean <olteanv@xxxxxxxxx>; David S. Miller
> <davem@xxxxxxxxxxxxx>; Eric Dumazet <edumazet@xxxxxxxxxx>; Jakub
> Kicinski <kuba@xxxxxxxxxx>; Paolo Abeni <pabeni@xxxxxxxxxx>; Hauke
> Mehrtens <hauke@xxxxxxxxxx>; Woojung Huh
> <woojung.huh@xxxxxxxxxxxxx>; UNGLinuxDriver@xxxxxxxxxxxxx; Claudiu
> Manoil <claudiu.manoil@xxxxxxx>; Alexandre Belloni
> <alexandre.belloni@xxxxxxxxxxx>; Colin Foster <colin.foster@in-
> advantage.com>; Hennerich, Michael <Michael.Hennerich@xxxxxxxxxx>;
> Alexander Aring <alex.aring@xxxxxxxxx>; Stefan Schmidt
> <stefan@xxxxxxxxxxxxxxxxxx>; Miquel Raynal <miquel.raynal@xxxxxxxxxxx>;
> Heiner Kallweit <hkallweit1@xxxxxxxxx>; Russell King
> <linux@xxxxxxxxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; linux-wpan@xxxxxxxxxxxxxxx
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Subject: [PATCH 11/12] net: ieee802154: adf7242: drop owner from driver
>
> Core already sets owner in spi_driver.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>

> ---
> drivers/net/ieee802154/adf7242.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ieee802154/adf7242.c
> b/drivers/net/ieee802154/adf7242.c
> index 509acc86001c..f9972b8140f9 100644
> --- a/drivers/net/ieee802154/adf7242.c
> +++ b/drivers/net/ieee802154/adf7242.c
> @@ -1338,7 +1338,6 @@ static struct spi_driver adf7242_driver = {
> .driver = {
> .of_match_table = adf7242_of_match,
> .name = "adf7242",
> - .owner = THIS_MODULE,
> },
> .probe = adf7242_probe,
> .remove = adf7242_remove,
> --
> 2.34.1