pwm: vt8500: Fix build error

A missing '{' causes a build error in pwm-vt8500.c

Signed-off-by: Tony Prisk <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
Tony Prisk 2012-11-20 06:44:45 +13:00 • committed by Thierry Reding
commit 2f9569f7ce

View file

@ -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;
};