mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] RTC subsystem: fix proc output
Move the "24hr: yes" proc output from drivers to rtc proc code. This is required because the time value in the proc output is always in 24hr mode regardless of the driver. Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> Cc: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
f90a65060e
commit
adfb434125
7 changed files with 4 additions and 17 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue