pcmcia: sa11x0: convert memory allocation to devm_* API
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Mar 2015 10:33:16 +0000 (10:33 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 8 Jul 2015 10:29:56 +0000 (11:29 +0100)
commite33e640ad0b76151534a2b9387b98eb02d6ddda7
tree5a208cdc6feafa4f244c84a4e252fec019bf6802
parent72010aca55264cfe6516a955066c846d3885b0c6
pcmcia: sa11x0: convert memory allocation to devm_* API

Convert the sa11x0 socket driver memory allocation to use devm_kzalloc()
to simplify the cleanup path.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/sa1100_generic.c
drivers/pcmcia/sa11xx_base.c