aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fwnode.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-03-24 00:24:16 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-03-25 21:00:09 +0100
commit9017f25254e474f2cc05df489e4f83b972d3d6fd (patch)
treea1f0adcf2b1674e581333de2dc5d011d8d5be091 /include/linux/fwnode.h
parentMerge branch 'acpi-driver-core' into device-properties (diff)
downloadlinux-dev-9017f25254e474f2cc05df489e4f83b972d3d6fd.tar.xz
linux-dev-9017f25254e474f2cc05df489e4f83b972d3d6fd.zip
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 <rafael.j.wysocki@intel.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fwnode.h')
0 files changed, 0 insertions, 0 deletions