summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2015-04-03 17:26:09 +0900
committerSebastian Reichel <sre@kernel.org>2015-04-06 17:46:46 +0200
commitbbaeeaaf314aaf5e32e20070378bc14792ae3752 (patch)
treefda27ba320a701dad17b6ecf235d138dbf3633bd /drivers/power
parent709c2c70c8ea73f488971f1de3c39fbdac995951 (diff)
power: max17042_battery: add missed blank
This patch add missed blank line after decalations. Signed-off-by: Beomho Seo <beomho.seo@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/max17042_battery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/power/max17042_battery.c b/drivers/power/max17042_battery.c
index bf5a82c9370e..6cc5e87ec031 100644
--- a/drivers/power/max17042_battery.c
+++ b/drivers/power/max17042_battery.c
@@ -268,6 +268,7 @@ static inline void max17042_override_por(struct regmap *map,
static inline void max10742_unlock_model(struct max17042_chip *chip)
{
struct regmap *map = chip->regmap;
+
regmap_write(map, MAX17042_MLOCKReg1, MODEL_UNLOCK1);
regmap_write(map, MAX17042_MLOCKReg2, MODEL_UNLOCK2);
}
@@ -285,6 +286,7 @@ static inline void max17042_write_model_data(struct max17042_chip *chip,
{
struct regmap *map = chip->regmap;
int i;
+
for (i = 0; i < size; i++)
regmap_write(map, addr + i,
chip->pdata->config_data->cell_char_tbl[i]);