]> git.karo-electronics.de Git - linux-beck.git/commit
thermal: cpu_cooling: remove compiler warning
authorEduardo Valentin <eduardo.valentin@ti.com>
Wed, 17 Apr 2013 17:11:58 +0000 (17:11 +0000)
committerZhang Rui <rui.zhang@intel.com>
Wed, 24 Apr 2013 16:34:37 +0000 (00:34 +0800)
commit4469b99743d296e24aefc5f8ed7df1bc9cfbbac8
tree1cbbe0cf0b10ebdc2d78665a56d19863dd74de69
parent243dbd9c606ff4f925496022762c8cf5b6e4a85e
thermal: cpu_cooling: remove compiler warning

level will be used only if GET_FREQ mode is requested.
There is no potential harm with current code. But for
cleaning the compilation log, this patch initializes
level to zero.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/cpu_cooling.c