drivers/rtc: remove unnecessary semicolons
authorPeter Senna Tschudin <peter.senna@gmail.com>
Fri, 22 Feb 2013 00:44:30 +0000 (16:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:27 +0000 (17:22 -0800)
Found by Coccinelle: http://coccinelle.lip6.fr/

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-isl12022.c
drivers/rtc/rtc-pcf8563.c

index 1850104705c0872d37930582a233b513b72e751f..6b4298ea683d22de6435800be04316dcaa7655ff 100644 (file)
@@ -227,7 +227,7 @@ static int isl12022_set_datetime(struct i2c_client *client, struct rtc_time *tm)
                                         buf[ISL12022_REG_SC + i]);
                if (ret)
                        return -EIO;
-       };
+       }
 
        return 0;
 }
index 7098ee89bd29fcb5b6d9285e6047dd799d2dd5b9..f7daf18a112ec06cb7990702ee0c91d33a462666 100644 (file)
@@ -181,7 +181,7 @@ static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm)
                                __func__, err, data[0], data[1]);
                        return -EIO;
                }
-       };
+       }
 
        return 0;
 }