regulator: bd718x7: Make some variable static
authorYueHaibing <yuehaibing@huawei.com>
Thu, 10 Sep 2020 03:42:40 +0000 (11:42 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 10 Sep 2020 12:50:30 +0000 (13:50 +0100)
commit02f8eaab0cb644478c170237f354db32b718e5ff
tree7ae8b3bad869afc6f22e65e01dfbd0f13f6beaf7
parent567444fbddf5674895e1b69eabfc34ea31725bbe
regulator: bd718x7: Make some variable static

Fix sparse warnings:

drivers/regulator/bd718x7-regulator.c:576:28: warning: symbol 'bd71847_swcontrol_ops' was not declared. Should it be static?
drivers/regulator/bd718x7-regulator.c:585:28: warning: symbol 'bd71847_hwcontrol_ops' was not declared. Should it be static?
drivers/regulator/bd718x7-regulator.c:902:28: warning: symbol 'bd71837_swcontrol_ops' was not declared. Should it be static?
drivers/regulator/bd718x7-regulator.c:913:28: warning: symbol 'bd71837_hwcontrol_ops' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-By: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20200910034240.37268-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd718x7-regulator.c