[RFC 1/2] misc: Add of_get_misc get a reference from devicetree

Moritz Fischer moritz.fischer at ettus.com
Tue Mar 22 22:54:41 UTC 2016


Meh,

On Tue, Mar 22, 2016 at 3:33 PM, Moritz Fischer
<moritz.fischer at ettus.com> wrote:

>
> +
> +err_dev:
> +       put_device(dev);
> +       return ERR_PTR(ret);
> +}
> +#else
> +struct misc_device *of_misc_get(struct device_node *)

Ok, that one is broken ....

Sorry,

Moritz


More information about the devel mailing list