Re: [PATCH v3] media: dvb: Provide 4 devm variants

2019-08-15 Thread Sean Young
On Mon, Jul 22, 2019 at 10:13:56AM +0200, Marc Gonzalez wrote: > On 21/07/2019 17:02, Ezequiel Garcia wrote: > > > On Thu, 2019-07-18 at 15:03 +0200, Marc Gonzalez wrote: > > > >> Provide devm variants for automatic resource release on device removal. > >> Makes error-handling in probe() simpler,

Re: [PATCH v3] media: dvb: Provide 4 devm variants

2019-07-22 Thread Marc Gonzalez
On 21/07/2019 17:02, Ezequiel Garcia wrote: > On Thu, 2019-07-18 at 15:03 +0200, Marc Gonzalez wrote: > >> Provide devm variants for automatic resource release on device removal. >> Makes error-handling in probe() simpler, thus less error-prone. >> Once all resources are devmanaged, remove() is no

Re: [PATCH v3] media: dvb: Provide 4 devm variants

2019-07-21 Thread Ezequiel Garcia
Hi Marc, Thanks for your patch. On Thu, 2019-07-18 at 15:03 +0200, Marc Gonzalez wrote: > Provide devm variants for automatic resource release on device removal. > Makes error-handling in probe() simpler, thus less error-prone. > Once all resources are devmanaged, remove() is no longer needed. >

[PATCH v3] media: dvb: Provide 4 devm variants

2019-07-18 Thread Marc Gonzalez
Provide devm variants for automatic resource release on device removal. Makes error-handling in probe() simpler, thus less error-prone. Once all resources are devmanaged, remove() is no longer needed. Signed-off-by: Marc Gonzalez --- Changes from v2: x Handle dvb_register_adapter() return code co