drivers/usb/host/ehci-xilinx-of.c: use devm_ functions
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 30 Jul 2012 14:43:39 +0000 (16:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 19:04:10 +0000 (12:04 -0700)
commit6df471ea04bd65603b67d821f2df359cc2cfac68
treef64731852ac0212d44dd80d4750d2d6463a3e126
parentf1d4eb788a007e3816132e6d1d28c25a64e86d24
drivers/usb/host/ehci-xilinx-of.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-xilinx-of.c