dm: power: Allow regulators to not implement all operations
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:59 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:35 +0000 (20:42 -0700)
commit364809de31a06da45d9b6f84cffbdb34bcfddc7a
tree6545563b85da960434ca466f3882273ad21ac6ac
parent7d5779993dbc487695fbfe88716fd70618a5db99
dm: power: Allow regulators to not implement all operations

Some regulators will not implement any operations (e.g. fixed regulators).
This is not an error, so allow the autoset process to continue when one
of these regulators is found.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/power/regulator/regulator-uclass.c