kernel/kallsyms.c: use __seq_open_private()
authorRob Jones <rob.jones@codethink.co.uk>
Mon, 13 Oct 2014 22:52:10 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:16 +0000 (02:18 +0200)
commit0049f26ae0ad00016d8e237a6d712bff155cedc5
tree1d6ea48be5b4fb749eab799ab804761dce8e1105
parentde8288b1f87146da06f6912028a1a9615a75c987
kernel/kallsyms.c: use __seq_open_private()

Reduce boilerplate code by using __seq_open_private() instead of
seq_open() in kallsyms_open().

Signed-off-by: Rob Jones <rob.jones@codethink.co.uk>
Cc: Gideon Israel Dsouza <gidisrael@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kallsyms.c