Re: [PATCH] ata: pata_arasam_cf: Use devm_clk_get

2015-08-22 Thread Tejun Heo
On Sat, Aug 22, 2015 at 09:04:50AM +0530, Vaishali Thakkar wrote: > This patch introduces the use of managed resource function > devm_clk_get instead of clk_get and removes corresponding call > to clk_put in the remove function. > > To be compatible with the change various gotos are replaced with

[PATCH] ata: pata_arasam_cf: Use devm_clk_get

2015-08-21 Thread Vaishali Thakkar
This patch introduces the use of managed resource function devm_clk_get instead of clk_get and removes corresponding call to clk_put in the remove function. To be compatible with the change various gotos are replaced with direct returns, and unneeded label is dropped. Signed-off-by: Vaishali Thak