Re: [PATCH 4/8] pcmcia: pxa2xx: convert memory allocation to devm_* API

2015-03-28 Thread Robert Jarzmik
Russell King writes: > Convert the pxa2xx socket driver memory allocation to use devm_kzalloc() > to simplify the cleanup path. > > Signed-off-by: Russell King > --- > drivers/pcmcia/pxa2xx_base.c | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/drivers/pcmcia/px

Re: [PATCH 4/8] pcmcia: pxa2xx: convert memory allocation to devm_* API

2015-03-28 Thread Russell King - ARM Linux
On Sat, Mar 28, 2015 at 10:38:24PM +0100, Robert Jarzmik wrote: > Russell King writes: > > > Convert the pxa2xx socket driver memory allocation to use devm_kzalloc() > > to simplify the cleanup path. > > > > Signed-off-by: Russell King > > --- > > drivers/pcmcia/pxa2xx_base.c | 8 +++- > >