diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-08-22 09:04:50 +0530 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-08-22 09:36:06 -0700 |
commit | d6e9b704d9553ee9d54baddcc6d9b63a4574f272 (patch) | |
tree | 129cfc21fba7980dc95330921e3330cff14e4178 /drivers/ata/pata_macio.c | |
parent | 38755e897ec2c371b8e71561622d525b3b94012b (diff) | |
download | linux-d6e9b704d9553ee9d54baddcc6d9b63a4574f272.tar.gz linux-d6e9b704d9553ee9d54baddcc6d9b63a4574f272.tar.bz2 linux-d6e9b704d9553ee9d54baddcc6d9b63a4574f272.zip |
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>
Diffstat (limited to 'drivers/ata/pata_macio.c')
0 files changed, 0 insertions, 0 deletions