]> err.no Git - linux-2.6/blobdiff - drivers/rtc/rtc-rs5c313.c
blackfin RTC driver: don't bother passing the rtc struct down to bfin_rtc_int_{set...
[linux-2.6] / drivers / rtc / rtc-rs5c313.c
index 664e89a817eddbce2baeff7aa07ebbf792a5bf70..1c14d4497c4db8bffc37148b138e8b17070eaf28 100644 (file)
@@ -228,7 +228,7 @@ static int rs5c313_rtc_read_time(struct device *dev, struct rtc_time *tm)
                ndelay(700);    /* CE:L */
 
                if (cnt++ > 100) {
-                       dev_err(dev, "%s: timeout error\n", __FUNCTION__);
+                       dev_err(dev, "%s: timeout error\n", __func__);
                        return -EIO;
                }
        }
@@ -289,7 +289,7 @@ static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm)
                ndelay(700);    /* CE:L */
 
                if (cnt++ > 100) {
-                       dev_err(dev, "%s: timeout error\n", __FUNCTION__);
+                       dev_err(dev, "%s: timeout error\n", __func__);
                        return -EIO;
                }
        }