device_str_attr_create
static struct attribute *device_str_attr_create(char *name, int name_max,
static struct attribute *device_str_attr_create(const char *name, const char *str)