commit | 601423bc0c06467d019cf2a446962a5bf1b5e330 | [log] [tgz] |
---|---|---|
author | Maximilian Luz <luzmaximilian@gmail.com> | Tue May 11 11:24:21 2021 +0200 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Thu Jun 03 20:53:54 2021 +0200 |
tree | 5ad26db43c261705515df7c8e2d25a1f7859a667 | |
parent | e633f33d2669cb54db2846f9cde08662d254dbd3 [diff] |
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: kernel test robot <lkp@intel.com> Fixes: e61ffb344591 ("power: supply: Add AC driver for Surface Aggregator Module") Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>