bridge: use DEVICE_ATTR_xx macros
authorsfeldma@cumulusnetworks.com <sfeldma@cumulusnetworks.com>
Mon, 6 Jan 2014 19:00:44 +0000 (11:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 21:40:46 +0000 (16:40 -0500)
commitfbf2671bb8e9c3329c52dae34b06e975a061d0a0
tree2a6597c2b6ad3e1578ab2580f841e392b04267d1
parent8f646c922d55047ecd6c65ada49ead88ed0db61e
bridge: use DEVICE_ATTR_xx macros

Use DEVICE_ATTR_RO/RW macros to simplify bridge sysfs attribute definitions.

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_sysfs_br.c