mips: kernel: convert to DEFINE_SHOW_ATTRIBUTE
authorLiu Shixin <liushixin2@huawei.com>
Tue, 13 Sep 2022 10:10:37 +0000 (18:10 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 19 Sep 2022 14:40:17 +0000 (16:40 +0200)
commit27a43a85bcfe5cd9ee0fa561d7ec9aead462166d
tree6db9cd3c63b39a7cf4b6a68b8ca4480ffa04e66e
parent6f674034b467dc231c99ea34abf4a3f6434ff766
mips: kernel: convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/segment.c