drivers/usb/host/ehci-ixp4xx.c: use devm_ functions
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 29 Jul 2012 19:46:09 +0000 (21:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 19:01:33 +0000 (12:01 -0700)
commit1feda3ed2e5b5968c8393c0e7fe2c27a06a0f4f7
tree5d9605a4329782721de3e3178c08d385cefb37a2
parent436f271996a1925e506d5004dcbf62bce24e5777
drivers/usb/host/ehci-ixp4xx.c: use devm_ functions

The various devm_ functions allocate memory that is released when a driver
detaches.  This patch uses these functions for data that is allocated in
the probe function of a platform device and is only freed in the remove
function.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-ixp4xx.c