Commit 2682c7c7 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Mark Brown
Browse files

ASoC: qcom: storm: remove special casing EPROBE_DEFER



This patch removes special casing the EPROBE_DEFER error handling in the
driver.

Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 21e904bc
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -122,15 +122,12 @@ static int storm_platform_probe(struct platform_device *pdev)
	}

	ret = devm_snd_soc_register_card(&pdev->dev, card);
	if (ret == -EPROBE_DEFER) {
		return ret;
	} else if (ret) {
	if (ret)
		dev_err(&pdev->dev, "%s() error registering soundcard: %d\n",
				__func__, ret);

	return ret;
	}

	return 0;
}

#ifdef CONFIG_OF