On Thursday 15 Dec 2016 13:45:25 Sakari Ailus wrote:
> Hi Laurent,
> 
> On 12/15/16 13:42, Laurent Pinchart wrote:
> > You can split that part out. The devm_* removal is independent and could
> > be moved to the beginning of the series.
> 
> Where do you release the memory in that case? In driver's remove(), i.e.
> this patch would simply move that code to isp_remove()?

Yes, the kfree() calls would be in isp_remove(). The patch will then be 
faithful to its $SUBJECT, and moving to a release() handler should be done in 
a separate patch.

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to