mm/memory.c: convert to DEFINE_DEBUGFS_ATTRIBUTE
authorYevgen Pronenko <[email protected]>
Mon, 10 Jul 2017 22:47:17 +0000 (15:47 -0700)
committerLinus Torvalds <[email protected]>
Mon, 10 Jul 2017 23:32:30 +0000 (16:32 -0700)
commit0a1345f8fed962958047dc0148f94d9bed160824
tree571608578bb4c11072b6b41726a811937e507877
parent7a8f58f3918869dda0d71b2e9245baedbbe7bc5e
mm/memory.c: convert to DEFINE_DEBUGFS_ATTRIBUTE

The preferred strategy to define debugfs attributes is to use the
DEFINE_DEBUGFS_ATTRIBUTE() macro and to use debugfs_create_file_unsafe().

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Yevgen Pronenko <[email protected]>
Cc: "Kirill A . Shutemov" <[email protected]>
Cc: Jan Kara <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memory.c