mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
cpuidle: power_usage should be declared signed integer
power_usage is always assigned a negative value and should be declared a signed integer Signed-off-by: Boris Ostrovsky <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
1a022e3f1b
commit
02401c06b7
2 changed files with 2 additions and 2 deletions
|
|
@ -236,7 +236,7 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev)
|
|||
{
|
||||
struct menu_device *data = &__get_cpu_var(menu_devices);
|
||||
int latency_req = pm_qos_request(PM_QOS_CPU_DMA_LATENCY);
|
||||
unsigned int power_usage = -1;
|
||||
int power_usage = -1;
|
||||
int i;
|
||||
int multiplier;
|
||||
struct timespec t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue