Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code. No functional change. v1->v2: remove duplicate blank lines. Liu Shixin (4): memory: tegra20-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra30-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra210-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code memory: tegra186-emc: use DEFINE_SHOW_ATTRIBUTE to simplify code drivers/memory/tegra/tegra186-emc.c | 15 +-------------- drivers/memory/tegra/tegra20-emc.c | 15 +-------------- drivers/memory/tegra/tegra210-emc-core.c | 15 +-------------- drivers/memory/tegra/tegra30-emc.c | 15 +-------------- 4 files changed, 4 insertions(+), 56 deletions(-) -- 2.25.1