diff options
author | 2021-02-09 17:58:43 +0800 | |
---|---|---|
committer | 2021-04-05 12:12:18 +0200 | |
commit | 25faa935f9e0bd5aba34a820defb982d43bb4a77 (patch) | |
tree | 13cbfc9708a480f0f91b8c1efc1386309ad0ec14 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | power: supply: goldfish: Remove the GOLDFISH dependency (diff) | |
download | linux-dev-25faa935f9e0bd5aba34a820defb982d43bb4a77.tar.xz linux-dev-25faa935f9e0bd5aba34a820defb982d43bb4a77.zip |
power: supply: core: Use true and false for bool variable
Fix the following coccicheck warning:
./include/linux/power_supply.h:507:9-10: WARNING: return of 0/1 in
function 'power_supply_is_watt_property' with return type bool.
./include/linux/power_supply.h:479:9-10: WARNING: return of 0/1 in
function 'power_supply_is_amp_property' with return type bool.
Reported-by: Abaci Robot<abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions