aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKelsey Skunberg <[email protected]>2019-08-13 14:45:11 -0600
committerBjorn Helgaas <[email protected]>2019-08-20 14:04:45 -0500
commit8bdfa145f58220796abddc93b5038efa6e7e90fc (patch)
treef7a105f0638784a5e60ffa86cc58d1eb5c7de698 /net/unix/af_unix.c
parent5a2e340690f2908371eb9c1b4cfb82ba0b235b51 (diff)
PCI: sysfs: Define device attributes with DEVICE_ATTR*()
Device attributes should be defined using DEVICE_ATTR*(_name, _mode, _show, _store). Convert them all from __ATTR*() to DEVICE_ATTR*(), e.g., - struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) + static DEVICE_ATTR(foo, S_IWUSR | S_IRUGO, show_foo, store_foo) Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kelsey Skunberg <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Donald Dutile <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions