Re: [PATCH 18/19] dm: devres: Use an enum for the allocation phase

2020-01-10 Thread sjg
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 --- drivers/core/devres.c | 22 -- 1 file changed, 16 insertions(+),

[PATCH 18/19] dm: devres: Use an enum for the allocation phase

2019-12-29 Thread Simon Glass
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 --- drivers/core/devres.c | 22 -- 1 file changed, 16 insertions(+),