]> git.baikalelectronics.ru Git - uboot.git/commit
regulator: Allow autosetting fixed regulators
authorSven Schwermer <sven@svenschwermer.de>
Wed, 12 Jun 2019 06:32:38 +0000 (08:32 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 13 Jul 2019 15:11:31 +0000 (11:11 -0400)
commitb73f275e8c3793674f07f7596d3b8d4eaeb296a6
treed0c26c0d10a7def9e6af2e03ea69271b88b8f347
parent3cf66ae49cbd4095b360ac38f14158b035172e52
regulator: Allow autosetting fixed regulators

Fixed regulators don't have a set_value method. Therefore, trying to
set their value will always return -ENOSYS.

Signed-off-by: Sven Schwermer <sven@svenschwermer.de>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/regulator/regulator-uclass.c