From: Russell King Date: Wed, 23 Apr 2014 09:52:17 +0000 (+0100) Subject: component: fix missed cleanup in case of devres failure X-Git-Tag: cleanup-for-v3.18~126^2~30^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c334940ea26cb58f5514dcbb225a3f397b2684ad;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed