pwm: vt8500: Fix build error
authorTony Prisk <linux@prisktech.co.nz>
Mon, 19 Nov 2012 17:44:45 +0000 (06:44 +1300)
committerThierry Reding <thierry.reding@avionic-design.de>
Thu, 22 Nov 2012 21:47:11 +0000 (22:47 +0100)
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>
drivers/pwm/pwm-vt8500.c

index 970b0c6e268f7a1a715175bec805c7ecbbb13d54..806f72c2421f043d698321628bf2cfa7518ff476 100644 (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;
        };