[PATCH 0/2] Re-use DEFINE_SHOW_ATTRIBUTE() macro
From: Peng Donglin
Date: Tue Jun 12 2018 - 21:16:38 EST
...instead of open coding file operations followed by custom ->open()
callbacks per each attribute.
Peng Donglin (2):
ARM: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro
ARM64: dump: Convert to use DEFINE_SHOW_ATTRIBUTE macro
arch/arm/mm/ptdump_debugfs.c | 13 +------------
arch/arm64/mm/ptdump_debugfs.c | 13 +------------
2 files changed, 2 insertions(+), 24 deletions(-)
--
2.7.4