/* Return the label name of a given channel  */
static ssize_t s3c_hwmon_label_show(struct device *dev, struct device_attribute *attr, char *buf)
/* Return the label name of a given channel  */
static ssize_t s3c_hwmon_label_show(struct device *dev, struct device_attribute *attr, char *buf)
{
	struct sensor_device_attribute *sen_attr = to_sensor_dev_attr(attr);
	struct s3c_hwmon_pdata *pdata = dev->platform_data;
	struct s3c_hwmon_chcfg *cfg;
	cfg = pdata->in[sen_attr->index];
	return snprintf(buf, PAGE_SIZE, "%s\n", cfg->name);
}