Revert "Revert "cpufreq: interactive: fix compiling warnings""

This reverts commit a6bb8fc65155f0b8216b1b5f92c2fb04acdfd92a.