topology: replace custom attribute macros with standard DEVICE_ATTR*
commitd6ea8d01d1893e1299a4016d62fdda870b8cc215
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 30 Sep 2014 13:48:23 +0000 (30 14:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 19:45:00 +0000 (7 11:45 -0800)
treee69453cc50fb84c6c2ec3f5c85f010ac8d185a82
parent5aaba36318e5995e8c95d077a46d9a4d00fcc1cd
topology: replace custom attribute macros with standard DEVICE_ATTR*

Currently couple of custom macros are defined to declare the
device attributes. However there are already standard macros
defined in device.h that suffice the need and these custom
macros can be removed.

This patch replaces custom attribute macros with standard
DEVICE_ATTR_RO attribute

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/topology.c