]> git.baikalelectronics.ru Git - kernel.git/commit
pcmcia: pxa2xx: 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>
Thu, 3 Sep 2015 15:00:38 +0000 (16:00 +0100)
commit0c760a23cf7323dc49c4effb10466776b5458677
tree8d1e4a40ea40d1e9c46bac5b7134ced2f03738ea
parentdbe3e1b1f3931fab2c7608d1501081ab61451b2f
pcmcia: pxa2xx: convert memory allocation to devm_* API

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

Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/pxa2xx_base.c