aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorAmey Narkhede <[email protected]>2021-06-08 22:15:59 +0530
committerWill Deacon <[email protected]>2021-06-08 17:53:13 +0100
commit249c9dc6aa0db74a0f7908efd04acf774e19b155 (patch)
treec3231d0ab16b168c08951ab6b289987b9256133f /lib/mpi/mpi-sub-ui.c
parentab9a77a141cc14ed607b4bf7a83ab6b0057ae084 (diff)
iommu/arm: Cleanup resources in case of probe error path
If device registration fails, remove sysfs attribute and if setting bus callbacks fails, unregister the device and cleanup the sysfs attribute. Signed-off-by: Amey Narkhede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions