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.