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)
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>

No differences found