/* V6 voltage On I2C bus, sending a "x" byte to the max1586 means : set V6 to either 0V, 1.8V, 2.5V, 3V depending on (x & 0x3) As regulator framework doesn't accept voltages to be 0V, we use 1uV.  */
static int max1586_v6_calc_voltage(unsigned selector)
/* V6 voltage On I2C bus, sending a "x" byte to the max1586 means : set V6 to either 0V, 1.8V, 2.5V, 3V depending on (x & 0x3) As regulator framework doesn't accept voltages to be 0V, we use 1uV.  */
static int max1586_v6_calc_voltage(unsigned selector)
{
	static int voltages_uv[] = { 1, 1800000, 2500000, 3000000 };
	return voltages_uv[selector];
}