commit | c334940ea26cb58f5514dcbb225a3f397b2684ad | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Apr 23 10:52:17 2014 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jul 03 11:32:37 2014 +0100 |
tree | ef00fb1054c92630e1f50ec5f0af46d7d9ade671 | |
parent | 4c834452aad01531db949414f94f817a86348d59 [diff] |
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>