diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-09 08:58:49 -0700 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-28 15:31:18 -0700 |
commit | 2bd05bf4d2a5807dcc1c52788b842827e5ef0ee9 (patch) | |
tree | 127e69fe3152b4ac371983c63a28bffeef88ee82 /lib/lcm.c | |
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>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions