staging: frontier: use better DEVICE_ATTR_ macros
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Aug 2013 17:30:28 +0000 (10:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Aug 2013 17:30:28 +0000 (10:30 -0700)
commit89dcefb5af9651a4496ed53949ee0e287714f28b
tree44581975a452b0cf4700915c6af7281569417fa4
parent9d3ab801740ab5ff1e22932fdfecdaacd0d64a18
staging: frontier: use better DEVICE_ATTR_ macros

Use the DEVICE_ATTR_RO/RW macros to better describe the permissions on
the file, and make them easier to audit.

Cc: David Täht <d@teklibre.com>
Cc: Sara Bird <sara.bird.iar@gmail.com>
Cc: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/frontier/tranzport.c