[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5632339C.8000302@baylibre.com>
Date: Thu, 29 Oct 2015 15:56:28 +0100
From: Neil Armstrong <narmstrong@...libre.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: "David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>,
Guenter Roeck <linux@...ck-us.net>,
vivien.didelot@...oirfairelinux.com,
Fabian Frederick <fabf@...net.be>,
Pavel Nakonechny <pavel.nakonechny@...tlab.ru>,
Joe Perches <joe@...ches.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v3 1/5] net: dsa: allow switch drivers to cleanup
their resources
On 10/29/2015 03:50 PM, Andrew Lunn wrote:
> On Thu, Oct 29, 2015 at 03:45:24PM +0100, Neil Armstrong wrote:
>> --- a/net/dsa/dsa.c
>> +++ b/net/dsa/dsa.c
>> @@ -459,6 +459,10 @@ static void dsa_switch_destroy(struct dsa_switch *ds)
>> }
>>
>> mdiobus_unregister(ds->slave_mii_bus);
>> +
>> + /* Leave a chance to the driver to cleanup */
>> + if (ds->drv->remove)
>> + ds->drv->remove(ds);
>> }
>
> https://lkml.org/lkml/2015/10/28/532 ???
>
> Andrew
>
Well, sorry, I did the change but it got lost when refactoring the ppu stuff.
Neil
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists