Skip to content
Commit e3da2ce0 authored by kbuild test robot's avatar kbuild test robot Committed by Sebastian Reichel
Browse files

power: supply: cpcap-charger: cpcap_charger_voltage_to_regval() can be static



Add 'static' keyword to internal function as reported by sparse
using the following configuration:

make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

Fixes: d4ee021c ("power: supply: cpcap-charger: Limit voltage to 4.2V for battery")
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 0cb90f07
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