[PATCH] pinctrl: zte: fix 'functions' allocation in zx_pinctrl_build_state()

Dan Carpenter dan.carpenter at oracle.com
Mon Jul 17 02:55:59 PDT 2017


On Mon, Jul 17, 2017 at 05:46:24PM +0800, Shawn Guo wrote:
> On Mon, Jul 17, 2017 at 11:02:21AM +0300, Dan Carpenter wrote:
> > Shouldn't there be a free if the remove function?  I'm not even sure
> > where the remove function is so I don't know.
> 
> As the pinctrl driver is essential for the platform, it's always a
> builtin_platform_driver which we do not even have a remove function.
> 

Ah.  Good deal, then.

regards,
dan carpenter




More information about the linux-arm-kernel mailing list