Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: qcom_smd-regulator: Remove unused 'struct regulator_desc pmi8994_boost'

This was an upstreaming error. Remove it as it's not to be used.

Fixes the following W=1 kernel build warning:

drivers/regulator/qcom_smd-regulator.c:477:36: warning: ‘pmi8994_boost’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <agross@kernel.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Link: https://lore.kernel.org/r/20200626065738.93412-10-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Lee Jones and committed by
Mark Brown
bfa29acd 0c526166

-9
-9
drivers/regulator/qcom_smd-regulator.c
··· 474 474 .ops = &rpm_bob_ops, 475 475 }; 476 476 477 - static const struct regulator_desc pmi8994_boost = { 478 - .linear_ranges = (struct linear_range[]) { 479 - REGULATOR_LINEAR_RANGE(4000000, 0, 30, 50000), 480 - }, 481 - .n_linear_ranges = 1, 482 - .n_voltages = 31, 483 - .ops = &rpm_smps_ldo_ops, 484 - }; 485 - 486 477 static const struct regulator_desc pm8998_ftsmps = { 487 478 .linear_ranges = (struct linear_range[]) { 488 479 REGULATOR_LINEAR_RANGE(320000, 0, 258, 4000),