cpufreq: interactive: replace strict_strtoul() with kstrtoul()
authorAmit Pundir <amit.pundir@linaro.org>
Tue, 3 Nov 2015 15:23:29 +0000 (20:53 +0530)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:08 +0000 (13:53 -0800)
commite197a21971a5bfb9d335a9baa701c70b973fdab4
tree99413af38c204c32c59993b7319f9d05613573bf
parentb1b0fd37276a3482ee663c3635e7c67ec1059a24
cpufreq: interactive: replace strict_strtoul() with kstrtoul()

strict_strtoul() is obsolete. Use kstrtoul() instead.
Otherwise we run into following build error:

  CC      drivers/cpufreq/cpufreq_interactive.o
drivers/cpufreq/cpufreq_interactive.c: In function ‘store_hispeed_freq’:
drivers/cpufreq/cpufreq_interactive.c:784:2: error: implicit declaration of function ‘strict_strtoul’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [drivers/cpufreq/cpufreq_interactive.o] Error 1

Change-Id: Ib91b9df3af5fe2a244861c2f598bd20ec8115e6c
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
drivers/cpufreq/cpufreq_interactive.c