diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-23 10:52:17 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-07-03 11:32:37 +0100 |
commit | c334940ea26cb58f5514dcbb225a3f397b2684ad (patch) | |
tree | ef00fb1054c92630e1f50ec5f0af46d7d9ade671 /drivers/usb | |
parent | 4c834452aad01531db949414f94f817a86348d59 (diff) | |
download | linux-c334940ea26cb58f5514dcbb225a3f397b2684ad.tar.bz2 |
component: fix missed cleanup in case of devres failure
In try_to_bring_up_master(), we tear down the master's component list
for each error case, except for devres group failure. Fix this
oversight by making the code less prone to such mistakes.
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions