summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-06-04 02:49:53 +0530
committerFelipe Balbi <balbi@ti.com>2014-06-30 12:26:38 -0500
commit9f7b23ce88e9eb1194485b3399dfc83c24fb3634 (patch)
tree70ba4460189a54ae420b3d1c995bcea4c6c4ce30 /drivers/usb/musb
parentf32a5e2325caf3dd0d720932cc241d8ba22875a8 (diff)
usb: phy: phy-gpio-vbus-usb: use devm_ functions
The various devm_ functions allocate memory that is released when a driver detaches. This patch uses devm_kzalloc, devm_request_irq, devm_gpio_request, devm_regulator_get etc. for data that is allocated in the probe function of a platform device and is only freed in the remove function. The corresponding free functions are removed and the labels are done away with. Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
0 files changed, 0 insertions, 0 deletions