Re: [PATCH net] stmmac: dwmac-sunxi: Call exit cleanup function in probe error path

2015-12-14 Thread David Miller
From: Chen-Yu Tsai Date: Fri, 11 Dec 2015 18:03:49 +0800 > dwmac-sunxi has 2 callbacks that were called from stmmac_platform as > part of the probe and remove sequences. > > Ater the conversion of dwmac-sunxi into a standalone platform driver, > the .init function is called before calling into

Re: [PATCH net] stmmac: dwmac-sunxi: Call exit cleanup function in probe error path

2015-12-14 Thread David Miller
From: Chen-Yu Tsai Date: Fri, 11 Dec 2015 18:03:49 +0800 > dwmac-sunxi has 2 callbacks that were called from stmmac_platform as > part of the probe and remove sequences. > > Ater the conversion of dwmac-sunxi into a standalone platform driver, > the .init function is called

[PATCH net] stmmac: dwmac-sunxi: Call exit cleanup function in probe error path

2015-12-11 Thread Chen-Yu Tsai
dwmac-sunxi has 2 callbacks that were called from stmmac_platform as part of the probe and remove sequences. Ater the conversion of dwmac-sunxi into a standalone platform driver, the .init function is called before calling into the stmmac driver core, but .exit is not called to clean up if stmmac

[PATCH net] stmmac: dwmac-sunxi: Call exit cleanup function in probe error path

2015-12-11 Thread Chen-Yu Tsai
dwmac-sunxi has 2 callbacks that were called from stmmac_platform as part of the probe and remove sequences. Ater the conversion of dwmac-sunxi into a standalone platform driver, the .init function is called before calling into the stmmac driver core, but .exit is not called to clean up if stmmac