PM / devfreq: Fix incorrect argument in error message
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 21 Nov 2012 05:06:13 +0000 (10:36 +0530)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 26 Nov 2012 10:17:48 +0000 (19:17 +0900)
commitb9e1c8e821e7768d5b8629ad7748456af6feece3
tree9f3fbe8dcbcc1d186a69124a90793ca82b5ed143
parent389baed01edd298c9622c6e28de5e7e250c8767d
PM / devfreq: Fix incorrect argument in error message

'g' is cast to the error return code. Hence gives the following error
which is fixed by this patch.

drivers/devfreq/devfreq.c:645 devfreq_remove_governor() error:
'g' dereferencing possible ERR_PTR()

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c
This page took 0.0471 seconds and 5 git commands to generate.