ARM: OMAP2: Switch to use DEVICE_ATTR_RO()
authorSudeep Holla <sudeep.holla@arm.com>
Sat, 23 May 2020 17:08:58 +0000 (18:08 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 6 Jul 2020 08:48:06 +0000 (09:48 +0100)
commit53d421d29c052baa2c3f8d861781adc5cbcebe57
treeebe5444e4d6eb358178183a3d53a7b525bc8960e
parentd7a1a4f47d804b32b3ca7a98b03425cf90cb9098
ARM: OMAP2: 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-8-sudeep.holla@arm.com
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm/mach-omap2/id.c