From: Guenter Roeck Date: Mon, 2 Oct 2017 14:49:35 +0000 (-0700) Subject: Checkpatch cleanup: Double semicolon, missing space X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9b09ed39aeb3463d16ddada6040aa7a1a2d491f;p=groeck-it87 Checkpatch cleanup: Double semicolon, missing space Signed-off-by: Guenter Roeck --- diff --git a/it87.c b/it87.c index fc9ee80..63eef08 100644 --- a/it87.c +++ b/it87.c @@ -1458,7 +1458,7 @@ static int get_temp_type(struct it87_data *data, int index) break; } src2 = data->temp_src[3]; - switch(src1) { + switch (src1) { case 3: type = (src2 & BIT(index)) ? 6 : 5; break; @@ -1838,7 +1838,7 @@ static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *attr, err = it87_lock(data); if (err) - return err;; + return err; it87_update_pwm_ctrl(data, nr);