ata: pata_arasam_cf: Use devm_clk_get
authorVaishali Thakkar <vthakkar1994@gmail.com>
Sat, 22 Aug 2015 03:34:50 +0000 (09:04 +0530)
committerTejun Heo <tj@kernel.org>
Sat, 22 Aug 2015 16:36:06 +0000 (09:36 -0700)
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 Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_arasan_cf.c

Simple merge