Skip to content

Commit

Permalink
pwm: vt8500: Fix build error
Browse files Browse the repository at this point in the history
A missing '{' causes a build error in pwm-vt8500.c

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
  • Loading branch information
Tony Prisk authored and Thierry Reding committed Nov 22, 2012
1 parent c937136 commit 2f9569f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pwm/pwm-vt8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static int vt8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
struct vt8500_chip *vt8500 = to_vt8500_chip(chip);

err = clk_enable(vt8500->clk);
if (err < 0)
if (err < 0) {
dev_err(chip->dev, "failed to enable clock\n");
return err;
};
Expand Down

0 comments on commit 2f9569f

Please sign in to comment.