diff options
author | Robin Murphy <robin.murphy@arm.com> | 2017-04-10 16:50:56 +0530 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-04-20 16:31:05 +0200 |
commit | 2a0c57545a291f257cd231b1c4b18285b84608d8 (patch) | |
tree | 2417db9a9b8d8f16cc20586d8113a5aeca656939 /block/deadline-iosched.c | |
parent | 5016bdb796b3726eec043ca0ce3be981f712c756 (diff) | |
download | linux-2a0c57545a291f257cd231b1c4b18285b84608d8.tar.bz2 |
iommu/of: Refactor of_iommu_configure() for error handling
In preparation for some upcoming cleverness, rework the control flow in
of_iommu_configure() to minimise duplication and improve the propogation
of errors. It's also as good a time as any to switch over from the
now-just-a-compatibility-wrapper of_iommu_get_ops() to using the generic
IOMMU instance interface directly.
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'block/deadline-iosched.c')
0 files changed, 0 insertions, 0 deletions