irqdomain: Re-use DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <[email protected]>
Wed, 14 Feb 2018 15:47:35 +0000 (17:47 +0200)
committerMarc Zyngier <[email protected]>
Fri, 16 Feb 2018 14:22:34 +0000 (14:22 +0000)
commit0b24a0bbe2147815d982d9335c41bb10c04f40bc
tree6c75d416c427a59f190e197ad83fe59b7bebf656
parent2d02424e89eca71b3fa5e832e6fbe467a413e3d5
irqdomain: Re-use DEFINE_SHOW_ATTRIBUTE() macro

...instead of open coding file operations followed by custom ->open()
callbacks per each attribute.

Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
kernel/irq/irqdomain.c