MIPS: r2-on-r6-emu: Change to use DEFINE_SHOW_ATTRIBUTE macro
authorYangtao Li <tiny.windzz@gmail.com>
Tue, 6 Nov 2018 14:36:36 +0000 (09:36 -0500)
committerPaul Burton <paul.burton@mips.com>
Tue, 6 Nov 2018 23:35:43 +0000 (15:35 -0800)
commit43da4e3ee8c4ccdd16e305c9996435cdbb7f1254
tree84804b36e68b6748a6861fca405163bb2f39093a
parentb3a428b4b18d495a06f39515568850f8db4c98ea
MIPS: r2-on-r6-emu: Change to use DEFINE_SHOW_ATTRIBUTE macro

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20991/
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
arch/mips/kernel/mips-r2-to-r6-emul.c