/* pwm_auto_point_pwm mapping table: Note that the PWM auto points 0 & 3 are hard-wired in the VT1211 and can't be changed. */
static ssize_t show_pwm_auto_point_pwm(struct device *dev, struct device_attribute *attr, char *buf)
/* pwm_auto_point_pwm mapping table: Note that the PWM auto points 0 & 3 are hard-wired in the VT1211 and can't be changed. */
static ssize_t show_pwm_auto_point_pwm(struct device *dev, struct device_attribute *attr, char *buf)
{
	struct vt1211_data *data = vt1211_update_device(dev);
	struct sensor_device_attribute_2 *sensor_attr_2 =
						to_sensor_dev_attr_2(attr);
	int ix = sensor_attr_2->index;
	int ap = sensor_attr_2->nr;
	return sprintf(buf, "%d\n", data->pwm_auto_pwm[ix][ap]);
}