]> git.sur5r.net Git - groeck-it87/commitdiff
Checkpatch cleanup: Double semicolon, missing space
authorGuenter Roeck <linux@roeck-us.net>
Mon, 2 Oct 2017 14:49:35 +0000 (07:49 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 2 Oct 2017 14:49:35 +0000 (07:49 -0700)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c

diff --git a/it87.c b/it87.c
index fc9ee80342fcfa6e2803973d1f9ca1883d3ba45e..63eef08d01f68fbce5e530b0b5dc29cdaf859149 100644 (file)
--- 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);