virtio: virtconsole: Use seq_file for debugfs operations
authorTuomas Tynkkynen <tuomas@tuxera.com>
Thu, 12 Jul 2018 21:39:56 +0000 (00:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2018 10:03:53 +0000 (12:03 +0200)
commit8d62fe9499b8eb027837892aad8fb52d83a52a41
tree92d64c047f2eac06fa241ef2d968467adca06787
parent566208494e4d7cc7bdac48d4c9b99d4fcb8fca48
virtio: virtconsole: Use seq_file for debugfs operations

Simplifies the code and is more conventional to what's used in the rest
of the kernel for debugfs ops.

Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
Reviewed-by: Amit Shah <amit@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/virtio_console.c