From: Benoit Cousson Date: Mon, 5 Dec 2011 14:23:55 +0000 (+0100) Subject: of/address: Add reg-names property to name an iomem resource X-Git-Tag: v3.3-rc1~63^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35f3da32af0e8970cc41288d4a7e3bd32399900e;p=pandora-kernel.git of/address: Add reg-names property to name an iomem resource Add a reg-names property to allow for reg regions to be reference by name instead of by index. Some devices have multiple register regions which are more naturally referenced by name. If the name is available, use it to name the resource when creating a devices. Otherwise keep the device name. Signed-off-by: Benoit Cousson Cc: Grant Likely Cc: Rob Herring [Generalized documentation to be for any -names property] Signed-off-by: Grant Likely --- Reading git-diff-tree failed