diff options
Diffstat (limited to 'drivers/rtc/rtc-rs5c313.c')
-rw-r--r-- | drivers/rtc/rtc-rs5c313.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-rs5c313.c b/drivers/rtc/rtc-rs5c313.c index 664e89a817ed..1c14d4497c4d 100644 --- a/drivers/rtc/rtc-rs5c313.c +++ b/drivers/rtc/rtc-rs5c313.c | |||
@@ -228,7 +228,7 @@ static int rs5c313_rtc_read_time(struct device *dev, struct rtc_time *tm) | |||
228 | ndelay(700); /* CE:L */ | 228 | ndelay(700); /* CE:L */ |
229 | 229 | ||
230 | if (cnt++ > 100) { | 230 | if (cnt++ > 100) { |
231 | dev_err(dev, "%s: timeout error\n", __FUNCTION__); | 231 | dev_err(dev, "%s: timeout error\n", __func__); |
232 | return -EIO; | 232 | return -EIO; |
233 | } | 233 | } |
234 | } | 234 | } |
@@ -289,7 +289,7 @@ static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm) | |||
289 | ndelay(700); /* CE:L */ | 289 | ndelay(700); /* CE:L */ |
290 | 290 | ||
291 | if (cnt++ > 100) { | 291 | if (cnt++ > 100) { |
292 | dev_err(dev, "%s: timeout error\n", __FUNCTION__); | 292 | dev_err(dev, "%s: timeout error\n", __func__); |
293 | return -EIO; | 293 | return -EIO; |
294 | } | 294 | } |
295 | } | 295 | } |