summaryrefslogtreecommitdiff
path: root/drivers/regulator/pcap-regulator.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-09-28 11:55:40 +0300
committerMark Brown <broonie@kernel.org>2019-10-01 14:46:37 +0300
commit182a1d8bc4ed30f5e0bb7fb52606fa1888430ca4 (patch)
treef32081a45f851011ee7d501b713e177a0cbc8448 /drivers/regulator/pcap-regulator.c
parente62cb0e0002ceb1a761b4dd7bb6a2bfc77a1ae77 (diff)
downloadlinux-182a1d8bc4ed30f5e0bb7fb52606fa1888430ca4.tar.xz
regulator: pcap-regulator: remove unused variable 'SW3_table'
drivers/regulator/pcap-regulator.c:89:27: warning: SW3_table defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20190928085540.45332-1-yuehaibing@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/pcap-regulator.c')
-rw-r--r--drivers/regulator/pcap-regulator.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c
index c2469263db95..0345f38f6f78 100644
--- a/drivers/regulator/pcap-regulator.c
+++ b/drivers/regulator/pcap-regulator.c
@@ -86,10 +86,6 @@ static const unsigned int SW1_table[] = {
#define SW2_table SW1_table
-static const unsigned int SW3_table[] = {
- 4000000, 4500000, 5000000, 5500000,
-};
-
struct pcap_regulator {
const u8 reg;
const u8 en;