diff options
author | Rob Jones <rob.jones@codethink.co.uk> | 2014-10-13 15:51:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-14 02:18:14 +0200 |
commit | 4bad78c550025346de3fc5820e366c7b525e1889 (patch) | |
tree | 9180b0d311924ce1ca96ffbec1e1e15c7d5342de /lib/textsearch.c | |
parent | 8b21d9ca17ff8ed0dbf650f4162ee2d59bb5a881 (diff) | |
download | op-kernel-dev-4bad78c550025346de3fc5820e366c7b525e1889.zip op-kernel-dev-4bad78c550025346de3fc5820e366c7b525e1889.tar.gz |
lib/dynamic_debug.c: use seq_open_private() instead of seq_open()
Using seq_open_private() removes boilerplate code from ddebug_proc_open().
The resultant code is shorter and easier to follow.
This patch does not change any functionality.
Signed-off-by: Rob Jones <rob.jones@codethink.co.uk>
Acked-by: Jason Baron <jbaron@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/textsearch.c')
0 files changed, 0 insertions, 0 deletions