[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <effb2781-8293-925a-0134-e071b3437581@free.fr>
Date: Thu, 18 Jul 2019 11:38:10 +0200
From: Marc Gonzalez <marc.w.gonzalez@...e.fr>
To: Sean Young <sean@...s.org>, Brad Love <brad@...tdimension.cc>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Jonathan Neuschäfer <j.neuschaefer@....net>
Cc: linux-media <linux-media@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Guenter Roeck <linux@...ck-us.net>
Subject: Re: [PATCH v2] media: dvb: Provide 4 devm variants
On 16/07/2019 10:56, Marc Gonzalez wrote:
> +int devm_dvb_register_adapter(struct device *dev, struct dvb_adapter *adap,
> + const char *name, struct module *module, short *adapter_nums)
> +{
> + int rc = dvb_register_adapter(adap, name, module, dev, adapter_nums);
> + return rc ? : devm_add_action_or_reset(dev, unregister_adapter, adap);
Doh! This is incorrect. (Face palm) Will spin a v3.
Regards.
Powered by blists - more mailing lists