[alsa-devel] [PATCH 6/6] ASoC: omap-dmic: Cleanup the probe function

Peter Ujfalusi peter.ujfalusi at ti.com
Thu Jul 11 14:31:21 CEST 2013


On 07/11/2013 01:10 PM, Lars-Peter Clausen wrote:
> On 07/11/2013 12:18 PM, Peter Ujfalusi wrote:
>> Move the clk_get later in the function. In this way we do not need to use
>> goto in other error cases.
>>
>> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
> 
> How about using devm_clk_get?

I tend to forgot about the devm_* time to time ;)

-- 
Péter


More information about the Alsa-devel mailing list