[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f4511b75-c696-60a1-4861-9cda96531268@gmail.com>
Date: Thu, 22 Sep 2022 11:20:02 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Yang Yingliang <yangyingliang@...wei.com>, netdev@...r.kernel.org
Cc: 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, linus.walleij@...aro.org,
clement.leger@...tlin.com, george.mccollister@...il.com
Subject: Re: [PATCH net-next 02/18] net: dsa: bcm_sf2: remove unnecessary
platform_set_drvdata()
On 9/21/22 07:05, Yang Yingliang wrote:
> Remove unnecessary platform_set_drvdata() 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>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists