summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-tegra.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-04-16 01:17:51 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-16 01:35:24 +0200
commit4395eb1f16cc55406fe3de4546134fc61253a06b (patch)
tree28f879ba2b11fc1d27f39b000ec0c850069e925d /drivers/rtc/rtc-tegra.c
parentpower: wakeup: remove use of seq_printf return value (diff)
downloadlinux-4395eb1f16cc55406fe3de4546134fc61253a06b.tar.xz
linux-4395eb1f16cc55406fe3de4546134fc61253a06b.zip
rtc: remove use of seq_printf return value
The seq_printf return value, because it's frequently misused, will eventually be converted to void. See: commit 1f33c41c03da ("seq_file: Rename seq_overflow() to seq_has_overflowed() and make public") Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-tegra.c')
-rw-r--r--drivers/rtc/rtc-tegra.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c
index d948277057d8..60232bd366ef 100644
--- a/drivers/rtc/rtc-tegra.c
+++ b/drivers/rtc/rtc-tegra.c
@@ -261,7 +261,9 @@ static int tegra_rtc_proc(struct device *dev, struct seq_file *seq)
if (!dev || !dev->driver)
return 0;
- return seq_printf(seq, "name\t\t: %s\n", dev_name(dev));
+ seq_printf(seq, "name\t\t: %s\n", dev_name(dev));
+
+ return 0;
}
static irqreturn_t tegra_rtc_irq_handler(int irq, void *data)