clk: SPEAr: Vco-pll: Fix compilation warning
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Oct 2012 09:49:08 +0000 (15:19 +0530)
committerMike Turquette <mturquette@linaro.org>
Mon, 29 Oct 2012 18:04:34 +0000 (11:04 -0700)
commit7d4998f71b292ea8e88d1874b26866092f66412b
tree573e33ce366b879451083c4067f40763ea0b6f6b
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
clk: SPEAr: Vco-pll: Fix compilation warning

Currently we are getting following warning for SPEAr clk-vco-pll.

"warning: i is used uninitialized in this function."

This is because we are getting value of i by passing its pointer to another
routine.

The variables here are really not used uninitialized.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/spear/clk-vco-pll.c