Skip to content
Commit 601423bc authored by Maximilian Luz's avatar Maximilian Luz Committed by Sebastian Reichel
Browse files

power: supply: surface-charger: Fix type of integer variable



The ac->state field is __le32, not u32. So change the variable we're
temporarily storing it in to __le32 as well.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: e61ffb34 ("power: supply: Add AC driver for Surface Aggregator Module")
Signed-off-by: default avatarMaximilian Luz <luzmaximilian@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent e633f33d
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