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)
commitd6e9b704d9553ee9d54baddcc6d9b63a4574f272
tree129cfc21fba7980dc95330921e3330cff14e4178
parent38755e897ec2c371b8e71561622d525b3b94012b
ata: pata_arasam_cf: Use devm_clk_get

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