diff options
author | Joaquín Ignacio Aramendía <samsagax@gmail.com> | 2022-12-12 15:12:46 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-02-03 16:30:09 +0100 |
commit | 95a56de6ed60aa74c91f67fc37fd28fa916a3521 (patch) | |
tree | 68e8292944498fc846e8f8f6dc92737af6cdd853 /Documentation/hwmon | |
parent | hwmon: (asus-ec-sensors) add missing mutex path (diff) | |
download | linux-95a56de6ed60aa74c91f67fc37fd28fa916a3521.tar.xz linux-95a56de6ed60aa74c91f67fc37fd28fa916a3521.zip |
docs: hwmon: Use file modes explicitly
As stated in the mainling list[1] and by checkpatch output, the file modes
for is_visible_func should be returned explicitly. Change that in the
documentation to avoid confusion.
[1]https://lore.kernel.org/linux-hwmon/506a6e7f-4566-2dcf-37f3-0f41f4ce983b@roeck-us.net/
Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Link: https://lore.kernel.org/r/20221212141245.52935-1-samsagax@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/hwmon-kernel-api.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/hwmon/hwmon-kernel-api.rst b/Documentation/hwmon/hwmon-kernel-api.rst index f3276b3a381a..26cf55303c61 100644 --- a/Documentation/hwmon/hwmon-kernel-api.rst +++ b/Documentation/hwmon/hwmon-kernel-api.rst @@ -299,7 +299,7 @@ Parameters: Return value: The file mode for this attribute. Typically, this will be 0 (the - attribute will not be created), S_IRUGO, or 'S_IRUGO | S_IWUSR'. + attribute will not be created), 0444, or 0644. :: |