i8k: 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>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Joe Perches 2015-02-21 18:53:47 -08:00 коммит произвёл Greg Kroah-Hartman
Родитель 0a56c0e1e7
Коммит 3a267d3b22
1 изменённых файлов: 9 добавлений и 7 удалений

Просмотреть файл

@ -510,13 +510,15 @@ static int i8k_proc_show(struct seq_file *seq, void *offset)
* 9) AC power * 9) AC power
* 10) Fn Key status * 10) Fn Key status
*/ */
return seq_printf(seq, "%s %s %s %d %d %d %d %d %d %d\n", seq_printf(seq, "%s %s %s %d %d %d %d %d %d %d\n",
I8K_PROC_FMT, I8K_PROC_FMT,
bios_version, bios_version,
i8k_get_dmi_data(DMI_PRODUCT_SERIAL), i8k_get_dmi_data(DMI_PRODUCT_SERIAL),
cpu_temp, cpu_temp,
left_fan, right_fan, left_speed, right_speed, left_fan, right_fan, left_speed, right_speed,
ac_power, fn_key); ac_power, fn_key);
return 0;
} }
static int i8k_open_fs(struct inode *inode, struct file *file) static int i8k_open_fs(struct inode *inode, struct file *file)