mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-17 04:17:44 +07:00
pwm: vt8500: Fix build error
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>
This commit is contained in:
parent
c937136099
commit
2f9569f7ce
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user