]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Refactor regulator_list_voltage()
authorMaciej Purski <m.purski@samsung.com>
Mon, 22 Jan 2018 14:30:07 +0000 (15:30 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jan 2018 15:48:08 +0000 (15:48 +0000)
commit9c9a38f4d1a2d8fe5fd3d5fbb662410bc5eebe28
treebbcb529d0a79b103db98750aea5be63da8ebc8b9
parentf4e7f6f0dd68c090435bd535575796cdab9a3c4e
regulator: core: Refactor regulator_list_voltage()

Change _regulator_list_voltage() argument from regulator to
regulator_dev in order to provide better separation of core layers.
Allow calling _regulator_list_voltage() from functions, with
regulator_dev argument. This refactoring is needed in order to
implement setting voltage of coupled regulators.

Signed-off-by: Maciej Purski <m.purski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c