aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAdam Buchbinder <adam.buchbinder@gmail.com>2012-09-19 21:48:00 -0400
committerJiri Kosina <jkosina@suse.cz>2012-11-19 08:31:35 -0500
commit48fc7f7e787dd65ffe88521bce31f4062ba273eb (patch)
tree0ee37107cf965a6b2d6d85ed3686ef1d6a622bef /drivers/rtc
parent53f698cdeb0e1af2799a515b578a779943c43482 (diff)
Fix misspellings of "whether" in comments.
"Whether" is misspelled in various comments across the tree; this fixes them. No code changes. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-isl1208.c2
-rw-r--r--drivers/rtc/rtc-s3c.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c
index 26c81f233606..afb7cfa85ccc 100644
--- a/drivers/rtc/rtc-isl1208.c
+++ b/drivers/rtc/rtc-isl1208.c
@@ -118,7 +118,7 @@ isl1208_i2c_set_regs(struct i2c_client *client, u8 reg, u8 const buf[],
118 return ret; 118 return ret;
119} 119}
120 120
121/* simple check to see wether we have a isl1208 */ 121/* simple check to see whether we have a isl1208 */
122static int 122static int
123isl1208_i2c_validate_client(struct i2c_client *client) 123isl1208_i2c_validate_client(struct i2c_client *client)
124{ 124{
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index 77823d21d314..a7a2a998fa91 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -186,7 +186,7 @@ static int s3c_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
186 rtc_tm->tm_year = readb(base + S3C2410_RTCYEAR); 186 rtc_tm->tm_year = readb(base + S3C2410_RTCYEAR);
187 rtc_tm->tm_sec = readb(base + S3C2410_RTCSEC); 187 rtc_tm->tm_sec = readb(base + S3C2410_RTCSEC);
188 188
189 /* the only way to work out wether the system was mid-update 189 /* the only way to work out whether the system was mid-update
190 * when we read it is to check the second counter, and if it 190 * when we read it is to check the second counter, and if it
191 * is zero, then we re-try the entire read 191 * is zero, then we re-try the entire read
192 */ 192 */