regulator: Silence error message in max8998_pmic_probe
authorAxel Lin <axel.lin@gmail.com>
Wed, 7 Mar 2012 07:15:40 +0000 (15:15 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:54 +0000 (20:48 +0000)
This looks like a mistakenly committed debug logging.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8998.c

index 634f257..5890265 100644 (file)
@@ -824,7 +824,6 @@ static __devinit int max8998_pmic_probe(struct platform_device *pdev)
                       buck12_voltage_map_desc.step*i
                       < (pdata->buck2_voltage2 / 1000))
                        i++;
-               printk(KERN_ERR "i2:%d, buck2_idx:%d\n", i, max8998->buck2_idx);
                max8998->buck2_vol[1] = i;
                ret = max8998_write_reg(i2c, MAX8998_REG_BUCK2_VOLTAGE2, i);
                if (ret)