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 1f33c41c03
("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>
This commit is contained in:

committed by
Linus Torvalds

parent
9f6a240e8b
commit
4395eb1f16
@@ -434,9 +434,9 @@ static int ds1305_proc(struct device *dev, struct seq_file *seq)
|
||||
}
|
||||
|
||||
done:
|
||||
return seq_printf(seq,
|
||||
"trickle_charge\t: %s%s\n",
|
||||
diodes, resistors);
|
||||
seq_printf(seq, "trickle_charge\t: %s%s\n", diodes, resistors);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
Reference in New Issue
Block a user