Skip to content

Commit

Permalink
drivers: input: qti-haptics: fix misleading indentation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
penglezos committed Jul 30, 2020
1 parent 2fd64e6 commit 2e2dcce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/misc/qti-haptics.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ static int qti_haptics_write(struct qti_hap_chip *chip,
rc = regmap_write(chip->regmap,
chip->reg_base + addr, *val);

if (rc < 0)
dev_err(chip->dev, "write addr 0x%x failed, rc=%d\n",
if (rc < 0)
dev_err(chip->dev, "write addr 0x%x failed, rc=%d\n",
addr, rc);
}

Expand Down

0 comments on commit 2e2dcce

Please sign in to comment.