From: Dong Aisheng Date: Wed, 11 Jul 2012 05:16:37 +0000 (+1000) Subject: of: Improve prom_update_property() function X-Git-Tag: v3.6-rc1~132^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=475d0094293b51353e342d1198377967dbc48169;p=pandora-kernel.git of: Improve prom_update_property() function prom_update_property() currently fails if the property doesn't actually exist yet which isn't what we want. Change to add-or-update instead of update-only, then we can remove a lot duplicated lines. Suggested-by: Grant Likely Signed-off-by: Dong Aisheng Acked-by: Rob Herring Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed