usb: gadget: mv_udc: refine the clock relative code
authorNeil Zhang <zhangwm@marvell.com>
Wed, 30 Nov 2011 01:57:15 +0000 (09:57 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:45:24 +0000 (11:45 +0200)
commit85ff7bfb6e260d7cc6d675941f5569c9b7ad6b44
treedc1d0967c547bdca22dcad9d3154f0bd9cf88a68
parent309d6d2be42c895c424a5090fcc2e95ce2d8499a
usb: gadget: mv_udc: refine the clock relative code

Split the clock relative code from clock gating solution.
Then we can remove some duplicate code, make the code more clean.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc_core.c