]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
pcmcia: sa11x0: fix missing clk_put() in sa11x0 socket drivers
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Mar 2015 10:22:20 +0000 (10:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 8 Jul 2015 10:29:55 +0000 (11:29 +0100)
commit72010aca55264cfe6516a955066c846d3885b0c6
tree1d9eb9b93fba59b93afd4e1e62c4c59503c46502
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
pcmcia: sa11x0: fix missing clk_put() in sa11x0 socket drivers

Fix the lack of clk_put() in sa11xx_base.c's error cleanup paths by
converting the driver to the devm_* API.

Fixes: 86d88bfca475 ("ARM: 8247/2: pcmcia: sa1100: make use of device clock")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/sa1100_generic.c
drivers/pcmcia/sa11xx_base.c