At present we only support two phases where devres can be used: bind and probe. This is handled with a boolean. We want to add a new phase (platdata), so change this to an enum.
Signed-off-by: Simon Glass <s...@chromium.org> --- drivers/core/devres.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) Applied to u-boot-dm, thanks!