]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ene-kb3930: Make local symbol 'kb3930_power_off' static
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 8 Mar 2021 12:31:47 +0000 (12:31 +0000)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:03:30 +0000 (16:03 +0100)
commit1c67d942206d36e7e32db5bc832f1bcbc0621308
tree808436133a2090144bc1bf5bfa60f6f31c53fb52
parent29a7999fbbca87398590e7b2d8313f44d309227f
mfd: ene-kb3930: Make local symbol 'kb3930_power_off' static

The sparse tool complains as follows:

drivers/mfd/ene-kb3930.c:36:15: warning: symbol 'kb3930_power_off' was not declared. Should it be static?

The symbol is not used outside of this file.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ene-kb3930.c