clk: mxs: Index is always positive
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 8 Jan 2013 01:38:55 +0000 (23:38 -0200)
committerMike Turquette <mturquette@linaro.org>
Wed, 16 Jan 2013 00:16:27 +0000 (16:16 -0800)
commit38a8b096f86dea54cc64f4daa3402d0c4f2df43e
tree518bc2fb0cdb9833863e66e73f532d498374ab2c
parentf1ba28a1f0fa16f3d0e78d199f3f9bf13e2d487b
clk: mxs: Index is always positive

Fix the following warnings when building with W=1 option:

drivers/clk/mxs/clk-imx23.c: In function 'mx23_clocks_init':
drivers/clk/mxs/clk-imx23.c:149:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/clk/mxs/clk-imx23.c:165:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
...

drivers/clk/mxs/clk-imx28.c: In function 'mx28_clocks_init':
drivers/clk/mxs/clk-imx28.c:227:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/clk/mxs/clk-imx28.c:244:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/mxs/clk-imx23.c
drivers/clk/mxs/clk-imx28.c