SH: cpuidle: Add missing parameter for cpuidle_register()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 25 Jul 2013 22:14:04 +0000 (00:14 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 12 Aug 2013 09:28:18 +0000 (11:28 +0200)
commitc78e43601b8f6d06bd92753e5f4ae51e4d6a1284
tree11226dc643a983944ec425b36b21e2d060096735
parentd4e4ab86bcba5a72779c43dc1459f71fea3d89c8
SH: cpuidle: Add missing parameter for cpuidle_register()

arch/sh/kernel/cpu/shmobile/cpuidle.c: In function 'sh_mobile_setup_cpuidle':
arch/sh/kernel/cpu/shmobile/cpuidle.c:102:2: error: too few arguments to function 'cpuidle_register'
include/linux/cpuidle.h:129:12: note: declared here
arch/sh/kernel/cpu/shmobile/cpuidle.c:94:6: warning: unused variable 'ret' [-Wunused-variable]

Add the missing parameter, and remove the unused variable.

Both introduced by commit b181a3b03f866776211f22390c185c4da1dc45ff ("SH:
cpuidle: use init/exit common routine").

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/sh/kernel/cpu/shmobile/cpuidle.c