[PATCH 4.9 244/271] hwmon: (core) Simplify sysfs attribute name allocation