usb: s3c-hsotg: Use devm_* functions in s3c-hsotg.c file
commit338edabcd879320f0f86cc701161b95277be6b5d
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 18 May 2012 09:03:46 +0000 (18 14:33 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 4 Jun 2012 15:07:45 +0000 (4 18:07 +0300)
treed1eaed345df89b441917f6bded79c74a88ea6ab8
parentdd8e93814a357d8f032a93b6d17216436c762e9f
usb: s3c-hsotg: Use devm_* functions in s3c-hsotg.c file

devm_* functions are used to replace kzalloc, request_mem_region, ioremap
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-hsotg.c