]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: gadget: s3c-hsudc: Use devm_* functions
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 3 Sep 2012 10:18:18 +0000 (15:48 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Sep 2012 14:09:10 +0000 (17:09 +0300)
commit78f0c53ef8563009bf089ef90c7204f526d4a589
tree2b10430cf805a9dd9a66534ba94aa16dff43accd
parent9d2333d0d9bc03da3d8c11f92c602dac97ffea1e
usb: gadget: s3c-hsudc: Use devm_* functions

devm_* functions are used to replace kzalloc, request_mem_region, ioremap
clk_get and request_irq functions in probe call. With the usage of devm_*
functions explicit freeing and unmapping is not required.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsudc.c