diff options
| author | Himangi Saraogi <himangi774@gmail.com> | 2014-06-04 02:49:53 +0530 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 12:26:38 -0500 |
| commit | 9f7b23ce88e9eb1194485b3399dfc83c24fb3634 (patch) | |
| tree | 70ba4460189a54ae420b3d1c995bcea4c6c4ce30 /include/linux/timerqueue.h | |
| parent | f32a5e2325caf3dd0d720932cc241d8ba22875a8 (diff) | |
| download | cachepc-linux-9f7b23ce88e9eb1194485b3399dfc83c24fb3634.tar.gz cachepc-linux-9f7b23ce88e9eb1194485b3399dfc83c24fb3634.zip | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
