summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2013-10-31 16:51:54 +0100
committerChanho Park <chanho61.park@samsung.com>2014-08-08 14:37:02 +0900
commit30be46418e52711a59bc625f0fb15844795d8ec4 (patch)
tree5dc0d73cbde2b5ee6382311aa44bbb32d9750081 /drivers/regulator
parentde190efdb0692bfb557b094f33603269330a5787 (diff)
downloadlinux-3.10-30be46418e52711a59bc625f0fb15844795d8ec4.tar.gz
linux-3.10-30be46418e52711a59bc625f0fb15844795d8ec4.tar.bz2
linux-3.10-30be46418e52711a59bc625f0fb15844795d8ec4.zip
cosmetic: max77686: Remove unused variable
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/max77686.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c
index 4d40e54442c..a8ddbb26fb3 100644
--- a/drivers/regulator/max77686.c
+++ b/drivers/regulator/max77686.c
@@ -650,7 +650,6 @@ static int max77686_pmic_probe(struct platform_device *pdev)
unsigned int buck2_dvs = pdata->buck2_voltage[i];
unsigned int buck3_dvs = pdata->buck3_voltage[i];
unsigned int buck4_dvs = pdata->buck4_voltage[i];
- unsigned int reg[3];
regmap_write(iodev->regmap, MAX77686_REG_BUCK2DVS1 + i,
buck2_dvs ? : 0x28);