]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc: remove unnecessary semicolons
authorPeter Senna Tschudin <peter.senna@gmail.com>
Thu, 7 Feb 2013 01:27:45 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:15 +0000 (16:47 +1100)
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>
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;
 }