of: return -ENOENT when no property
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 29 Jun 2012 04:57:58 +0000 (13:57 +0900)
committerRob Herring <rob.herring@calxeda.com>
Fri, 6 Jul 2012 12:16:34 +0000 (07:16 -0500)
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@nvidia.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>

No differences found