[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZz_1S-qoOEED3UXj=ONtn5wdcJwyq6t9a7POUVgtFF9w@mail.gmail.com>
Date: Thu, 22 Sep 2022 15:17:30 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: netdev@...r.kernel.org, f.fainelli@...il.com, andrew@...n.ch,
vivien.didelot@...il.com, olteanv@...il.com, kurt@...utronix.de,
hauke@...ke-m.de, Woojung.Huh@...rochip.com,
sean.wang@...iatek.com, clement.leger@...tlin.com,
george.mccollister@...il.com
Subject: Re: [PATCH net-next 17/18] net: dsa: vitesse-vsc73xx: remove
unnecessary set_drvdata()
On Wed, Sep 21, 2022 at 3:58 PM Yang Yingliang <yangyingliang@...wei.com> wrote:
> Remove unnecessary set_drvdata(NULL) function in ->remove(),
> the driver_data will be set to NULL in device_unbind_cleanup()
> after calling ->remove().
>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Acked-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists