Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

regulator: ab3100: Set fixed_uV instead of min_uV for fixed regulators

Slightly better readability by setting fixed_uV instead of min_uV.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
e219c2b3 95602d7d

+3 -4
+3 -4
drivers/regulator/ab3100.c
··· 354 354 } 355 355 356 356 static const struct regulator_ops regulator_ops_fixed = { 357 - .list_voltage = regulator_list_voltage_linear, 358 357 .enable = ab3100_enable_regulator, 359 358 .disable = ab3100_disable_regulator, 360 359 .is_enabled = ab3100_is_enabled_regulator, ··· 400 401 .n_voltages = 1, 401 402 .type = REGULATOR_VOLTAGE, 402 403 .owner = THIS_MODULE, 403 - .min_uV = LDO_A_VOLTAGE, 404 + .fixed_uV = LDO_A_VOLTAGE, 404 405 .enable_time = 200, 405 406 }, 406 407 { ··· 410 411 .n_voltages = 1, 411 412 .type = REGULATOR_VOLTAGE, 412 413 .owner = THIS_MODULE, 413 - .min_uV = LDO_C_VOLTAGE, 414 + .fixed_uV = LDO_C_VOLTAGE, 414 415 .enable_time = 200, 415 416 }, 416 417 { ··· 420 421 .n_voltages = 1, 421 422 .type = REGULATOR_VOLTAGE, 422 423 .owner = THIS_MODULE, 423 - .min_uV = LDO_D_VOLTAGE, 424 + .fixed_uV = LDO_D_VOLTAGE, 424 425 .enable_time = 200, 425 426 }, 426 427 {