usb: gadget: r8a66597-udc: use devm_clk_get() to get clock
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 17 Jun 2014 15:14:59 +0000 (16:14 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:26:25 +0000 (12:26 -0500)
commit3d7037b76ba81a35daf627391b67be6463e56353
tree44fa42f515e6d86319b5e8f15aedeb6c9afdfd25
parent776976a67ae25d18be42794fd783a50757402cbe
usb: gadget: r8a66597-udc: use devm_clk_get() to get clock

Change to using the devm_clk_get() to get the clock and
have it automatically freed on exit.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/r8a66597-udc.c