diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-21 08:54:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-08 15:17:45 +0100 |
commit | 735df0ff6ece7b8759a744158f5d246fae4739f4 (patch) | |
tree | e0cdd030e78dced5a242e6c5c433a3caf4faa38f /Documentation/filesystems | |
parent | sysfs: convert BUG_ON to WARN_ON (diff) | |
download | linux-735df0ff6ece7b8759a744158f5d246fae4739f4.tar.xz linux-735df0ff6ece7b8759a744158f5d246fae4739f4.zip |
Documentation: driver core: remove use of BUS_ATTR
We are getting rid of the "raw" BUS_ATTR() macro, so fix up the
documentation to not refer to it anymore.
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/sysfs.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/filesystems/sysfs.txt b/Documentation/filesystems/sysfs.txt index a1426cabcef1..41411b0c60a3 100644 --- a/Documentation/filesystems/sysfs.txt +++ b/Documentation/filesystems/sysfs.txt @@ -344,7 +344,9 @@ struct bus_attribute { Declaring: -BUS_ATTR(_name, _mode, _show, _store) +static BUS_ATTR_RW(name); +static BUS_ATTR_RO(name); +static BUS_ATTR_WO(name); Creation/Removal: |