diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2014-10-14 19:32:37 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:00:59 +0900 |
commit | 1470b337691932a926140ba90537fb8efd03aec0 (patch) | |
tree | 444dc7928c3bbb38e32d71235cc69abd60e0db66 /drivers | |
parent | 6389875a05be88ed97ab5e002ec17cc969894ca8 (diff) | |
download | linux-3.10-1470b337691932a926140ba90537fb8efd03aec0.tar.gz linux-3.10-1470b337691932a926140ba90537fb8efd03aec0.tar.bz2 linux-3.10-1470b337691932a926140ba90537fb8efd03aec0.zip |
rtc: s5m: Adjust kernel message level to debug.
This patch adjusts all infomative message from s5m rtc driver to
debug level.
Change-Id: I52f6903fce2bd6d61b8e5f81aa521a3bf7dad9bc
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rtc/rtc-s5m.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index e61080ecec9..4ed6c133c7d 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc-s5m.c @@ -402,7 +402,7 @@ static int s5m_rtc_read_time(struct device *dev, struct rtc_time *tm) goto out; } - printk(KERN_INFO "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, + pr_debug("%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, 1900 + tm->tm_year, 1 + tm->tm_mon, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, tm->tm_wday); @@ -434,7 +434,7 @@ static int s5m_rtc_set_time(struct device *dev, struct rtc_time *tm) return -EINVAL; } - printk(KERN_INFO "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, + pr_debug( "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, 1900 + tm->tm_year, 1 + tm->tm_mon, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, tm->tm_wday); @@ -511,7 +511,7 @@ static int s5m_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) goto out; } - printk(KERN_INFO "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, + pr_debug( "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, 1900 + alrm->time.tm_year, 1 + alrm->time.tm_mon, alrm->time.tm_mday, alrm->time.tm_hour, alrm->time.tm_min, alrm->time.tm_sec, @@ -547,7 +547,7 @@ static int s5m_rtc_stop_alarm(struct s5m_rtc_info *info) return -EINVAL; } - printk(KERN_INFO "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, + pr_debug( "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, 1900 + tm.tm_year, 1 + tm.tm_mon, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec, tm.tm_wday); @@ -604,7 +604,7 @@ static int s5m_rtc_start_alarm(struct s5m_rtc_info *info) return -EINVAL; } - printk(KERN_INFO "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, + pr_debug( "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, 1900 + tm.tm_year, 1 + tm.tm_mon, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec, tm.tm_wday); @@ -667,7 +667,7 @@ static int s5m_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) return -EINVAL; } - printk(KERN_INFO "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, + pr_debug( "%s: %d/%d/%d %d:%d:%d(%d)\n", __func__, 1900 + alrm->time.tm_year, 1 + alrm->time.tm_mon, alrm->time.tm_mday, alrm->time.tm_hour, alrm->time.tm_min, alrm->time.tm_sec, alrm->time.tm_wday); |