Use DEFINE_SHOW_ATTRIBUTE to simplify code.
Liu Shixin (3):
mips: cavium: convert to DEFINE_SHOW_ATTRIBUTE
mips: kernel: convert to DEFINE_SHOW_ATTRIBUTE
mips: ralink: convert to DEFINE_SHOW_ATTRIBUTE
arch/mips/cavium-octeon/oct_ilm.c | 17 +++--------------
arch/mips/kernel/segment.c | 15 ++-------------
arch/mips/ralink/bootrom.c | 15 ++-------------
3 files changed, 7 insertions(+), 40 deletions(-)
--
2.25.1
On Tue, Sep 13, 2022 at 06:10:35PM +0800, Liu Shixin wrote:
> Use DEFINE_SHOW_ATTRIBUTE to simplify code.
>
> Liu Shixin (3):
> mips: cavium: convert to DEFINE_SHOW_ATTRIBUTE
> mips: kernel: convert to DEFINE_SHOW_ATTRIBUTE
> mips: ralink: convert to DEFINE_SHOW_ATTRIBUTE
>
> arch/mips/cavium-octeon/oct_ilm.c | 17 +++--------------
> arch/mips/kernel/segment.c | 15 ++-------------
> arch/mips/ralink/bootrom.c | 15 ++-------------
> 3 files changed, 7 insertions(+), 40 deletions(-)
series applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]