[PATCH 18/19] dm: devres: Use an enum for the allocation phase
sjg at google.com
sjg at google.com
Fri Jan 10 09:57:32 CET 2020
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 <sjg at chromium.org>
---
drivers/core/devres.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list