diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2013-02-21 19:44:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 20:22:27 -0500 |
commit | 0b7e039243425b07a952b81ea5b4d86f46d9cf25 (patch) | |
tree | 43b585a2fd0839ca88ba2fdf699139025323fb4a | |
parent | 95fe8347b6ccb68c3bc0082332bffa861160c935 (diff) |
drivers/rtc: remove unnecessary semicolons
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>
-rw-r--r-- | drivers/rtc/rtc-isl12022.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-pcf8563.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c index 1850104705c0..6b4298ea683d 100644 --- a/drivers/rtc/rtc-isl12022.c +++ b/drivers/rtc/rtc-isl12022.c | |||
@@ -227,7 +227,7 @@ static int isl12022_set_datetime(struct i2c_client *client, struct rtc_time *tm) | |||
227 | buf[ISL12022_REG_SC + i]); | 227 | buf[ISL12022_REG_SC + i]); |
228 | if (ret) | 228 | if (ret) |
229 | return -EIO; | 229 | return -EIO; |
230 | }; | 230 | } |
231 | 231 | ||
232 | return 0; | 232 | return 0; |
233 | } | 233 | } |
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 7098ee89bd29..f7daf18a112e 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -181,7 +181,7 @@ static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm) | |||
181 | __func__, err, data[0], data[1]); | 181 | __func__, err, data[0], data[1]); |
182 | return -EIO; | 182 | return -EIO; |
183 | } | 183 | } |
184 | }; | 184 | } |
185 | 185 | ||
186 | return 0; | 186 | return 0; |
187 | } | 187 | } |