Skip to content
Snippets Groups Projects
Commit c5e064a6 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

driver core: core: use DEVICE_ATTR_RO


Use DEVICE_ATTR_RO() instead of a "raw" __ATTR macro, making it easier
to audit exactly what is going on with the sysfs files.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2581c9cc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment