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

From: Moritz Fischer
Date: Tue Mar 22 2016 - 18:54:48 EST


Meh,

On Tue, Mar 22, 2016 at 3:33 PM, Moritz Fischer
<moritz.fischer@xxxxxxxxx> 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