[PATCH v4 03/31] USB: fsl-mph-dr-of: cleanup clock API use
Anatolij Gustschin
agust at denx.de
Thu Aug 22 06:45:25 EST 2013
On Tue, 6 Aug 2013 22:43:43 +0200
Gerhard Sittig <gsi at denx.de> wrote:
> use devm_get_clk() for automatic put upon device close, check for and
> propagate errors when enabling clocks, must prepare clocks before they
> can get enabled, unprepare after disable
>
> Signed-off-by: Gerhard Sittig <gsi at denx.de>
> ---
> drivers/usb/host/fsl-mph-dr-of.c | 16 +++++++++-------
> 1 file changed, 9 insertions(+), 7 deletions(-)
applied, thanks!
Anatolij
More information about the Linuxppc-dev
mailing list