[ARM] 3250/1: Change pxa2xx PCMCIA drivers to use platform_device_alloc
authorRichard Purdie <rpurdie@rpsys.net>
Tue, 10 Jan 2006 17:16:12 +0000 (17:16 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Jan 2006 17:16:12 +0000 (17:16 +0000)
commitb016450f9f603210239e1a91e3c28f17c310dcc7
treef98c21ce43fc8826dbd006216db0c70cb3901e0d
parent49978db4f39950cdaaf967e1aad4a324bdc2e180
[ARM] 3250/1: Change pxa2xx PCMCIA drivers to use platform_device_alloc

Patch from Richard Purdie

Change mainstone and sharpsl pxa2xx pcmcia drivers to use
platform_device_alloc which fixes a memory leak.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/pxa2xx_mainstone.c
drivers/pcmcia/pxa2xx_sharpsl.c