soc: integrator: Switch to use DEVICE_ATTR_RO()
authorSudeep Holla <sudeep.holla@arm.com>
Sat, 23 May 2020 17:08:54 +0000 (18:08 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 6 Jul 2020 08:48:05 +0000 (09:48 +0100)
commit734776eb16e8ca0e76b437b679059765321848ec
tree18aa201f6e42b4fbe9db2824afe2a25a8f9fe4c5
parent99d50b9b8cfa99317525eb8f0c8cb7bd6db19462
soc: integrator: 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-4-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/versatile/soc-integrator.c