commit | 4bad78c550025346de3fc5820e366c7b525e1889 | [log] [tgz] |
---|---|---|
author | Rob Jones <rob.jones@codethink.co.uk> | Mon Oct 13 15:51:32 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 14 02:18:14 2014 +0200 |
tree | 9180b0d311924ce1ca96ffbec1e1e15c7d5342de | |
parent | 8b21d9ca17ff8ed0dbf650f4162ee2d59bb5a881 [diff] |
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>