regulator: ab8500: remove some defined but not used variables
authorJason Yan <yanaijie@huawei.com>
Fri, 10 Apr 2020 07:33:43 +0000 (15:33 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 14 Apr 2020 15:57:43 +0000 (16:57 +0100)
commit29ebe87cdd57accdbe94e44a01685cb3227ad223
tree34bfd145a5b55d80b519753e4703975f73b99bb1
parent6b576eb035dba77daf091f045fa1448682ee12b4
regulator: ab8500: remove some defined but not used variables

Fix the following gcc warning:

drivers/regulator/ab8500.c:195:27: warning: ‘ldo_vdmic_voltages’ defined
but not used [-Wunused-const-variable=]
 static const unsigned int ldo_vdmic_voltages[] = {
                           ^~~~~~~~~~~~~~~~~~
drivers/regulator/ab8500.c:169:27: warning: ‘fixed_3300000_voltage’
defined but not used [-Wunused-const-variable=]
 static const unsigned int fixed_3300000_voltage[] = {
                           ^~~~~~~~~~~~~~~~~~~~~
drivers/regulator/ab8500.c:142:27: warning: ‘ldo_sdio_voltages’ defined
but not used [-Wunused-const-variable=]
 static const unsigned int ldo_sdio_voltages[] = {
                           ^~~~~~~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200410073343.39031-1-yanaijie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/ab8500.c