Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9ff1db3c authored by Stephen Boyd's avatar Stephen Boyd Committed by Amir Vajid
Browse files

PM / devfreq: bw_hwmon: irq can be negative



platform_get_irq() can return a negative number, but we assign it
to an unsigned integer, which can never be negative. Change the
type to int here so that we can detect irq errors.

Change-Id: I997063abfe5c9966f99014a099619e6bfe7aafe7
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
[avajid@codeaurora.org: made minor styling changes]
Signed-off-by: default avatarAmir Vajid <avajid@codeaurora.org>
parent f30d9fbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment