OSDN Git Service

usb: dwc3: Use clk_bulk_prepare_enable()
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Fri, 12 Jul 2019 07:26:34 +0000 (00:26 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 9 Aug 2019 10:37:56 +0000 (13:37 +0300)
commit240b65dc1e89dd83d0c4946f58e49e7ee669b25d
tree984ee10d429422599e89e25d23895355133b419b
parent03bf32bbb607e07bf9ac6ea126088d1dc88ea948
usb: dwc3: Use clk_bulk_prepare_enable()

Use clk_bulk_prepare_enable() and clk_bulk_disable_unprepare() to
simplify code a bit. No functional change intended.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.c