summaryrefslogtreecommitdiffstats
path: root/drivers/of/unittest-data
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2016-09-14 17:01:24 +0200
committerRob Herring <robh@kernel.org>2016-09-15 15:35:56 +0200
commitf94277af03ead0d3bf24a190a44d2b4cd6016549 (patch)
treebb7c7a0b00e856f8667f4678a5cfb92c7d0636b4 /drivers/of/unittest-data
parentof: Add array read functions with min/max size limits (diff)
downloadlinux-f94277af03ead0d3bf24a190a44d2b4cd6016549.tar.xz
linux-f94277af03ead0d3bf24a190a44d2b4cd6016549.zip
of/platform: Initialise dev->fwnode appropriately
Whilst we're some of the way towards a universal firmware property interface, drivers which deal with both OF and ACPI probing end up having to do things like this: dev->of_node ? &dev->of_node->fwnode : dev->fwnode This seems unnecessary, when the OF code could instead simply fill in the device's fwnode when binding the of_node, and let the drivers use dev->fwnode either way. Let's give it a go and see what falls out. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/unittest-data')
0 files changed, 0 insertions, 0 deletions