Re: [PATCH 5/7] net: ethernet: bgmac: Add platform device support

2016-06-30 Thread Florian Fainelli
[snip] + > + return 0; > + > +err2: > + devm_iounmap(&pdev->dev, bgmac->plat.idm_base); > +err1: > + devm_iounmap(&pdev->dev, bgmac->plat.base); > +err: > + devm_kfree(&pdev->dev, bgmac); This is not needed actually, now that you use the device managed helper functions. > + > +

[PATCH 5/7] net: ethernet: bgmac: Add platform device support

2016-06-30 Thread Jon Mason
The bcma portion of the driver has been split off into a bcma specific driver. This has been mirrored for the platform driver. The last references to the bcma core struct have been changed into a generic function call. These function calls are wrappers to either the original bcma code or new pla