soc: ux500: Switch to use DEVICE_ATTR_RO()
authorSudeep Holla <sudeep.holla@arm.com>
Sat, 23 May 2020 17:08:56 +0000 (18:08 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 6 Jul 2020 08:48:06 +0000 (09:48 +0100)
commit208b5899a0317c22d2eeaa25e98109dae8ec9703
tree018a64435ed502203df29e9c76c327be2a8c3220
parentbe0db32f131b5641d3c8735bf47c24d37ab8d43c
soc: ux500: Switch to use DEVICE_ATTR_RO()

Move device attributes to DEVICE_ATTR_RO() as that would make things
a lot more "obvious" what is happening over the existing __ATTR usage.

Link: https://lore.kernel.org/r/20200523170859.50003-6-sudeep.holla@arm.com
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/soc/ux500/ux500-soc-id.c