]> git.karo-electronics.de Git - linux-beck.git/commit
PM / QoS: Add return code to pm_qos_get_value function.
authorLuis Gonzalez Fernandez <luisgf@gmail.com>
Fri, 7 Sep 2012 19:35:21 +0000 (21:35 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 7 Sep 2012 19:35:21 +0000 (21:35 +0200)
commitc6a57bfffea5b673e5b4f9aeff85a00607e59077
treed896e9fcd61dccd27f253c794e2f742c6f59907d
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d
PM / QoS: Add return code to pm_qos_get_value function.

pm_qos_get_value don't return a return code in all cases. It's sure that
anything interesting happend after BUG() but this prevent any compilation
warning.

[rjw: Chaneged the new return value to PM_QOS_DEFAULT_VALUE.]

Signed-off-by: Luis Gonzalez Fernandez <luisgf@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/qos.c