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

Skip to content
Commit b04e29f9 authored by Santosh Mardi's avatar Santosh Mardi Committed by Amir Vajid
Browse files

PM / devfreq: bw_hwmon: use unsigned parameter for bytes_to_mbps



In bytes_to_mbps function, the parameter is all unsigned,
so change the decleration of the function to include unsigned long
long to avoid compilation errors in 32 bit environment.
Also changed the return value as unsigned long to avoid
any data loss possible in 64 bit environment.

Change-Id: I90aebfe32e86ebc17c414d6f3c0c3cbd6dddb0bd
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent 4b5e7268
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