17 Sep
2013
17 Sep
'13
8:44 a.m.
On 17 September 2013 11:04, Viresh Kumar viresh.kumar@linaro.org wrote:
On Tue, Sep 17, 2013 at 10:41 AM, Sachin Kamat sachin.kamat@linaro.org wrote:
devm_snd_soc_register_component makes code simpler.
ret = devm_snd_soc_register_component(&pdev->dev, &spdif_out_component,
&spdif_out_dai, 1); return ret;
}
What about doing return devm_snd_soc_register_component(***) here? And same for the other patch?
The other patch already has it. I will do this as part of follow-on cleanup patch as it makes 'ret' unused after that.
Acked-by: Viresh Kumar viresh.kumar@linaro.org
Thanks.
--
With warm regards,
Sachin