Hi, On Tuesday 15 August 2017 02:42 AM, Bjorn Helgaas wrote: > On Thu, Aug 03, 2017 at 10:44:11AM +0800, Shawn Lin wrote: >> It's from devm_kzalloc. so not need to free it when removing >> the test driver. >> >> Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx> > > Kishon? While the patch itself is correct, I'd like to make ->remove callback optional so that function drivers need not populate empty 'remove' callback functions. I have a few endpoint patches in my local tree which I'm planning to send in a couple of days. I'll send this patch along with that series while making the above mentioned modifications. Thanks Kishon