diff options
author | 2022-01-05 10:37:00 +0800 | |
---|---|---|
committer | 2022-02-01 13:13:44 +0100 | |
commit | 2b56a9a28a6bf09890a43161402948ed62963f36 (patch) | |
tree | 7ca439280528861d9a8a2c51b15304fec40fb840 /lib/mpi/mpiutil.c | |
parent | power: supply: fix table problem in sysfs-class-power (diff) | |
download | wireguard-linux-2b56a9a28a6bf09890a43161402948ed62963f36.tar.xz wireguard-linux-2b56a9a28a6bf09890a43161402948ed62963f36.zip |
power: supply: core: fix application of sizeof to pointer
The coccinelle check report:
./drivers/power/supply/cw2015_battery.c:692:12-18: ERROR: application of
sizeof to pointer
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: 25fd330370ac ("power: supply_core: Pass pointer to battery info")
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions