clk: lpc32xx: do not register clock "0"
authorSylvain Lemieux <slemieux@tycoint.com>
Tue, 9 Feb 2016 18:29:10 +0000 (13:29 -0500)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 10 Feb 2016 00:19:34 +0000 (16:19 -0800)
commit4db9a9ba602b38bd1fd80c4b3851dd15740a4fad
tree7effb56962b02db7ef7e233cba489ececceebc08
parent2430a94d1e719b7b4af2a65b781a4c036eb22e64
clk: lpc32xx: do not register clock "0"

The following errors are display in the console during the power-on:
[    0.000000] lpc32xx_usb_clk_init: failed to register (null) clock: -12
[    0.000000] lpc32xx_clk_init: failed to register (null) clock: -12

There is no need to register clock "0"; the first clock used is 1;

Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
[sboyd@codeaurora.org: s/prepare/register/]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/nxp/clk-lpc32xx.c
This page took 0.024393 seconds and 5 git commands to generate.