Re: [RFC PATCH v3 1/5] net: dsa: allow switch drivers to cleanup their resources

From: Neil Armstrong
Date: Thu Oct 29 2015 - 10:56:40 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/