regulator: max77857: change some variables to static
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 1 Aug 2023 13:03:54 +0000 (21:03 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 1 Aug 2023 15:02:22 +0000 (16:02 +0100)
commit39b5ba6cb56962d2ac83e4dd89f68538f7861efe
treeb42c8d0a6eb11c72adb58206143b350032be652b
parent9349f564f90d12438d92b1ad98bdf8b1a69d9005
regulator: max77857: change some variables to static

max77857_regmap_config and max77857_driver are only used
in max77857-regulator.c now, change them to static.

Fixes: af71cccadeced ("regulator: max77857: Add ADI MAX77857/59/MAX77831 Regulator Support")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230801130354.552243-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77857-regulator.c