Re: [PATCH 1/2] of: return -ENOENT when no property

From: Linus Walleij
Date: Thu Jul 05 2012 - 09:26:23 EST


On Fri, Jun 29, 2012 at 6:57 AM, Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:

> Make of_parse_phandle_with_args return -ENOENT instead of -EINVAL when
> no matching property is found, which allows to discriminate between
> absence of property and parsing error.
>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Rob can you take this into the DT git?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/