]> git.dujemihanovic.xyz Git - u-boot.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)
commit1164c546d59cdcea386ea4056362261a1d21ca5d
treed0c26c0d10a7def9e6af2e03ea69271b88b8f347
parent5fc7cf8c8e268590f3b0037eecea7f6798209f78
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