commit | 2bd05bf4d2a5807dcc1c52788b842827e5ef0ee9 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Sat Jul 09 08:58:49 2011 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Jul 28 15:31:18 2011 -0700 |
tree | 127e69fe3152b4ac371983c63a28bffeef88ee82 | |
parent | e0455e380b5bdf8dff7c8e29423d2446d9f59040 [diff] |
hwmon: (pmbus) Increase attribute name size Some hwmon sysfs attributes have a length of 20 bytes (plus terminating 0). I2C_NAME_SIZE is defined as 20 and thus can not be used to define the length of hwmon sysfs attributes. Replace it with PMBUS_NAME_SIZE, set to 24. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>