From: Rafael J. Wysocki Date: Mon, 23 Mar 2015 23:24:16 +0000 (+0100) Subject: driver core: Implement device property accessors through fwnode ones X-Git-Tag: omap-for-v4.2/o2_dc~134^2~5^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9017f25254e474f2cc05df489e4f83b972d3d6fd;p=pandora-kernel.git driver core: Implement device property accessors through fwnode ones Now that the ACPI companions of devices are pointed to by the fwnode field in struct device, the device_property_*() accessor functions can be modified to use their fwnode_property_*() counterparts internally with minimum extra overhead in the IS_ENABLED(CONFIG_OF) case, so make those changes. This allows us to get rid of the rather ugly DEV_PROP_READ_ARRAY() macro among other things. Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman --- Reading git-diff-tree failed