diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-04-15 08:38:17 -0700 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-04-15 15:21:22 -0500 |
commit | e7a62df8e8b4a5ecbbf4339b5b3671ae6582e50a (patch) | |
tree | a0181e6f191aca891fc9e208b3fc5aef821a5796 /include/linux/of.h | |
parent | DT: add vendor prefix for EBV Elektronik (diff) | |
download | linux-dev-e7a62df8e8b4a5ecbbf4339b5b3671ae6582e50a.tar.xz linux-dev-e7a62df8e8b4a5ecbbf4339b5b3671ae6582e50a.zip |
of: Clean up of_update_property
After searching for the old property, bail out with -ENODEV
if it was not found.
It is unnecessary to check if oldprop is NULL before removing
its binary file; the check was already done before.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions