From: Guenter Roeck Date: Sat, 9 Jul 2011 15:58:49 +0000 (-0700) Subject: hwmon: (pmbus) Increase attribute name size X-Git-Tag: v3.1-rc1~110^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bd05bf4d2a5807dcc1c52788b842827e5ef0ee9;p=pandora-kernel.git 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 Reviewed-by: Robert Coulson --- Reading git-diff-tree failed