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

Linus Walleij linus.walleij at linaro.org
Thu Jul 5 23:26:27 EST 2012


On Fri, Jun 29, 2012 at 6:57 AM, Alexandre Courbot <acourbot at nvidia.com> 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 at nvidia.com>

Rob can you take this into the DT git?

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list