summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/surface_charger.c
diff options
context:
space:
mode:
authorQiheng Lin <linqiheng@huawei.com>2021-04-10 12:12:46 +0800
committerSebastian Reichel <sre@kernel.org>2021-04-12 21:19:42 +0200
commit5ea2edd67a0467920e01c4909194e720d437fa26 (patch)
tree03f9c52dcc291b1050de8da71f156d18d844cb6d /drivers/power/supply/surface_charger.c
parente318c3c2ae7d64ae47467044523bd3e2da5c5ce6 (diff)
downloadlinux-5ea2edd67a0467920e01c4909194e720d437fa26.tar.bz2
power: supply: surface-battery: Make some symbols static
The sparse tool complains as follows: drivers/power/supply/surface_battery.c:700:1: warning: symbol 'dev_attr_alarm' was not declared. Should it be static? drivers/power/supply/surface_battery.c:805:1: warning: symbol 'surface_battery_pm_ops' was not declared. Should it be static? This symbol is not used outside of surface_battery.c, so this commit marks it static. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Qiheng Lin <linqiheng@huawei.com> Acked-by: Maximilian Luz <luzmaximilian@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/surface_charger.c')
0 files changed, 0 insertions, 0 deletions