lkml.org 
[lkml]   [2015]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH v3 1/5] net: dsa: allow switch drivers to cleanup their resources
From
Date
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


\
 
 \ /
  Last update: 2015-10-29 16:21    [W:0.038 / U:1.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site