MLK-10123: cpufreq: imx6q-cpufreq: initialize local variable 'i'
authorRobin Gong <b38343@freescale.com>
Wed, 21 Jan 2015 04:57:47 +0000 (12:57 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:37 +0000 (14:48 -0500)
commita9fd3e4dc4485d35395935a4043b5825ed1d2ad4
tree4acc86c2463ed9b11251b93009be907ba2211551
parentc585a07522e21e1f3afda66e55161ca4cf9694bd
MLK-10123: cpufreq: imx6q-cpufreq: initialize local variable 'i'

Initialize local variable 'i' to 0, otherwise may fall into wrong
code path. The issue come with commit 757ff4b89.

Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit 186f722c260279e21e05e4b13c9cc4d8348ae370)
drivers/cpufreq/imx6q-cpufreq.c