Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25543
b: refs/heads/master
c: adfb434
h: refs/heads/master
i:
  25541: e205248
  25539: dc4fd99
  25535: 44a0e26
v: v3
  • Loading branch information
Alessandro Zummo authored and Linus Torvalds committed Apr 11, 2006
1 parent 9cc4b61 commit 0264a52
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f90a65060e6a71a818abc3584ac64f986b838fba
refs/heads/master: adfb4341259f2f89baac2316a8a3660b63c1103b
1 change: 0 additions & 1 deletion trunk/drivers/rtc/rtc-ep93xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ static int ep93xx_rtc_proc(struct device *dev, struct seq_file *seq)

ep93xx_get_swcomp(dev, &preload, &delete);

seq_printf(seq, "24hr\t\t: yes\n");
seq_printf(seq, "preload\t\t: %d\n", preload);
seq_printf(seq, "delete\t\t: %d\n", delete);

Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/rtc/rtc-m48t86.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ static int m48t86_rtc_proc(struct device *dev, struct seq_file *seq)

reg = ops->readb(M48T86_REG_B);

seq_printf(seq, "24hr\t\t: %s\n",
(reg & M48T86_REG_B_H24) ? "yes" : "no");

seq_printf(seq, "mode\t\t: %s\n",
(reg & M48T86_REG_B_DM) ? "binary" : "bcd");

Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/rtc/rtc-pcf8563.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,7 @@ static int pcf8563_rtc_set_time(struct device *dev, struct rtc_time *tm)
return pcf8563_set_datetime(to_i2c_client(dev), tm);
}

static int pcf8563_rtc_proc(struct device *dev, struct seq_file *seq)
{
seq_printf(seq, "24hr\t\t: yes\n");
return 0;
}

static struct rtc_class_ops pcf8563_rtc_ops = {
.proc = pcf8563_rtc_proc,
.read_time = pcf8563_rtc_read_time,
.set_time = pcf8563_rtc_set_time,
};
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/rtc/rtc-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ static int rtc_proc_show(struct seq_file *seq, void *offset)
alrm.pending ? "yes" : "no");
}

seq_printf(seq, "24hr\t\t: yes\n");

if (ops->proc)
ops->proc(class_dev->dev, seq);

Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/rtc/rtc-rs5c372.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,8 @@ static int rs5c372_rtc_proc(struct device *dev, struct seq_file *seq)
{
int err, osc, trim;

seq_printf(seq, "24hr\t\t: yes\n");

if ((err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim)) == 0) {
err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim);
if (err == 0) {
seq_printf(seq, "%d.%03d KHz\n", osc / 1000, osc % 1000);
seq_printf(seq, "trim\t: %d\n", trim);
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/rtc/rtc-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ static int test_rtc_proc(struct device *dev, struct seq_file *seq)
{
struct platform_device *plat_dev = to_platform_device(dev);

seq_printf(seq, "24hr\t\t: yes\n");
seq_printf(seq, "test\t\t: yes\n");
seq_printf(seq, "id\t\t: %d\n", plat_dev->id);

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/rtc/rtc-x1205.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,6 @@ static int x1205_rtc_proc(struct device *dev, struct seq_file *seq)
{
int err, dtrim, atrim;

seq_printf(seq, "24hr\t\t: yes\n");

if ((err = x1205_get_dtrim(to_i2c_client(dev), &dtrim)) == 0)
seq_printf(seq, "digital_trim\t: %d ppm\n", dtrim);

Expand Down

0 comments on commit 0264a52

Please sign in to comment.