diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-24 23:24:36 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-01-25 09:14:36 -0500 |
commit | f172841573c41428b422b541bd5f50af0144c330 (patch) | |
tree | 6c07826e593011f7b8ce1f5dc9c8f26a125077e1 /Documentation/hwmon/sysfs-interface | |
parent | 8353863a52a82c7701d9d10433bea703fd24ec2d (diff) |
hwmon: Update documentation to clarify rules for the 'name' attribute
Clarify that the name attribute must report a valid name, and the rules
for valid names. Also clarify that the name parameter must be provided
for all supported API functions.
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/sysfs-interface')
-rw-r--r-- | Documentation/hwmon/sysfs-interface | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index 2cc95ad46604..fc337c317c67 100644 --- a/Documentation/hwmon/sysfs-interface +++ b/Documentation/hwmon/sysfs-interface | |||
@@ -86,8 +86,9 @@ given driver if the chip has the feature. | |||
86 | 86 | ||
87 | name The chip name. | 87 | name The chip name. |
88 | This should be a short, lowercase string, not containing | 88 | This should be a short, lowercase string, not containing |
89 | spaces nor dashes, representing the chip name. This is | 89 | whitespace, dashes, or the wildcard character '*'. |
90 | the only mandatory attribute. | 90 | This attribute represents the chip name. It is the only |
91 | mandatory attribute. | ||
91 | I2C devices get this attribute created automatically. | 92 | I2C devices get this attribute created automatically. |
92 | RO | 93 | RO |
93 | 94 | ||