Skip to contentSkip to conversation

drivers/rtc: removes unnecessary semicolon

PATCH Applied Peter Senna Tschudin 1 participant 1 message Sep 12, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/15 drivers/rtc: removes unnecessary semicolon

From: Peter Senna Tschudin <[email protected]>

removes unnecessary semicolon

Found by Coccinelle: http://coccinelle.lip6.fr/

---
 drivers/rtc/rtc-isl12022.c |    2 +-
 drivers/rtc/rtc-pcf8563.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/rtc/rtc-isl12022.c +1 -1
index 1850104..6b4298e 100644
@@ -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;
 }
drivers/rtc/rtc-pcf8563.c +1 -1
index c2fe426..3694c9c 100644
@@ -172,7 +172,7 @@ static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm)
 				__func__, err, data[0], data[1]);
 			return -EIO;
 		}
-	};
+	}
 
 	return 0;
 }