commit | c5e064a6981603de65c61c4989856e984c7ad66d | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 23 17:07:26 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 23 17:07:26 2013 -0700 |
tree | 723a699b6fe163c2769e99de107b5802413c174e | |
parent | 2581c9cc0de6eeba8d5553c98aab6e0f75d184e0 [diff] |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>