usb: musb: ux500: use devm_ functions
authorHimangi Saraogi <himangi774@gmail.com>
Fri, 20 Jun 2014 20:40:25 +0000 (02:10 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:14:39 +0000 (12:14 -0500)
commitd7dc5bde6d7f26a19e9792b7952fd61f875373fe
tree7f1514e20f1e6092d2a4988155878e886624a881
parentc63d2225e7be975357164871e996805003e5e735
usb: musb: ux500: use devm_ functions

This patch introduces the use of managed interfaces for clk_get and
kzalloc and removes the corresponding free function calls in the probe
and remove functions.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/ux500.c