usb: gadget: s3c-hsotg: Use devm_regulator_bulk_get API
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 8 Jan 2013 08:57:00 +0000 (14:27 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 10 Jan 2013 10:41:56 +0000 (12:41 +0200)
commitcd76213eb57c505d3df6fa3134a6b3bb5394a90c
tree5867e91a1cb4af08d267e944abf78a8859c8c4a1
parent924d2532ab1897b034fa5477aea661732b91d748
usb: gadget: s3c-hsotg: Use devm_regulator_bulk_get API

devm_regulator_bulk_get is device managed and saves some cleanup
and exit code.

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