]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: max77857: Make max77857_id static
authorYue Haibing <yuehaibing@huawei.com>
Thu, 1 Aug 2024 11:45:36 +0000 (19:45 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 1 Aug 2024 11:50:10 +0000 (12:50 +0100)
commitcd7d47c5762997a2b1de57a47cd48a1cdad38d96
treed1982b145d1e977f4d569dc7d63957dd1eff1166
parent3078425f63c5f526c8d2cb0b7ef9e0a3f50c9c39
regulator: max77857: Make max77857_id static

Fix sparse warning:
drivers/regulator/max77857-regulator.c:430:28: warning: symbol 'max77857_id' was not declared. Should it be static?

max77857_id is not used outside the source file. Make it static.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://patch.msgid.link/20240801114536.472796-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77857-regulator.c