[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaZH5cujkjt4g0u9m__r1MKRHLjs05_0kf69-Fu3pRpiw@mail.gmail.com>
Date: Thu, 22 Sep 2022 00:21:46 +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 14/18] net: dsa: realtek: 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