Searched refs:max597x (Results 1 – 1 of 1) sorted by relevance
428 struct max5970_data *max597x; in max597x_regulator_probe() local442 if (!max597x) in max597x_regulator_probe()445 i2c_set_clientdata(i2c, max597x); in max597x_regulator_probe()448 max597x->num_switches = MAX5978_NUM_SWITCHES; in max597x_regulator_probe()450 max597x->num_switches = MAX5970_NUM_SWITCHES; in max597x_regulator_probe()454 i2c_set_clientdata(i2c, max597x); in max597x_regulator_probe()455 num_switches = max597x->num_switches; in max597x_regulator_probe()467 ret = max597x_adc_range(regmap, i, &max597x->irng[i], &max597x->mon_rng[i]); in max597x_regulator_probe()471 data->irng = max597x->irng[i]; in max597x_regulator_probe()472 data->mon_rng = max597x->mon_rng[i]; in max597x_regulator_probe()[all …]