From: Lars-Peter Clausen Date: Tue, 19 Aug 2014 13:51:24 +0000 (+0200) Subject: ASoC: Move component->probed check into soc_{remove,probe}_component() X-Git-Tag: fixes-against-v3.18-rc2~128^2~8^2~12^2~7^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70090bbb8b7d7da7a6f64969b43a61c493c560ff;p=pandora-kernel.git ASoC: Move component->probed check into soc_{remove,probe}_component() Having the check in a centralized place makes the code a bit cleaner and shorter. Note: There is a slight semantic change in this patch. soc_probe_aux_dev() will no longer return -EBUSY if the AUX dev has already been probed before. This is fine though since it will simply do nothing in that case and return success. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed