mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
85 lines
2.7 KiB
Diff
85 lines
2.7 KiB
Diff
From 0dde28681b13295cd70b69c35b97035573159418 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Thu, 4 Dec 2014 21:02:34 -0700
|
|
Subject: [PATCH 2/2] remove rtc messages
|
|
|
|
---
|
|
drivers/rtc/rtc-sec.c | 27 ---------------------------
|
|
1 file changed, 27 deletions(-)
|
|
|
|
diff --git a/drivers/rtc/rtc-sec.c b/drivers/rtc/rtc-sec.c
|
|
index 95d13bd..743678c 100644
|
|
--- a/drivers/rtc/rtc-sec.c
|
|
+++ b/drivers/rtc/rtc-sec.c
|
|
@@ -150,10 +150,6 @@ static int s2m_rtc_read_time(struct device *dev, struct rtc_time *tm)
|
|
|
|
s2m_data_to_tm(data, tm, info->rtc_24hr_mode);
|
|
|
|
- printk(KERN_INFO "%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);
|
|
-
|
|
return rtc_valid_tm(tm);
|
|
}
|
|
|
|
@@ -171,10 +167,6 @@ static int s2m_rtc_set_time(struct device *dev, struct rtc_time *tm)
|
|
|
|
ret = s2m_rtc_set_time_reg(info, 0);
|
|
|
|
- printk(KERN_INFO "%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);
|
|
-
|
|
return ret;
|
|
}
|
|
|
|
@@ -191,12 +183,6 @@ static int s2m_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
|
|
|
|
s2m_data_to_tm(data, &alrm->time, info->rtc_24hr_mode);
|
|
|
|
- printk(KERN_INFO "%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);
|
|
-
|
|
alrm->enabled = 0;
|
|
|
|
for (i = 0; i < 7; i++) {
|
|
@@ -275,10 +261,6 @@ static int s2m_rtc_stop_alarm(struct s2m_rtc_info *info)
|
|
|
|
s2m_data_to_tm(data, &tm, info->rtc_24hr_mode);
|
|
|
|
- printk(KERN_INFO "%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);
|
|
-
|
|
for (i = 0; i < 7; i++)
|
|
data[i] &= ~ALARM_ENABLE_MASK;
|
|
|
|
@@ -302,10 +284,6 @@ static int s2m_rtc_start_alarm(struct s2m_rtc_info *info)
|
|
|
|
s2m_data_to_tm(data, &tm, info->rtc_24hr_mode);
|
|
|
|
- printk(KERN_INFO "%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);
|
|
-
|
|
data[RTC_SEC] |= ALARM_ENABLE_MASK;
|
|
data[RTC_MIN] |= ALARM_ENABLE_MASK;
|
|
data[RTC_HOUR] |= ALARM_ENABLE_MASK;
|
|
@@ -334,11 +312,6 @@ static int s2m_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm)
|
|
|
|
s2m_tm_to_data(&alrm->time, data);
|
|
|
|
- printk(KERN_INFO "%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);
|
|
-
|
|
ret = s2m_rtc_stop_alarm(info);
|
|
if (ret < 0)
|
|
return ret;
|
|
--
|
|
2.6.1
|
|
|