Re: [U-Boot] [PATCH] misc: uclass: Introduce misc_init_by_ofnode

2019-04-24 Thread Simon Glass
Hi Keerthy, On Wed, 24 Apr 2019 at 05:06, Keerthy wrote: > > Introduce misc_init_by_ofnode to probe a misc device > using its ofnode. Can you please add a motivation for this? Also please can you add a test for your function in test/dm/misc.c Regards, Simon > > Signed-off-by: Keerthy > --- >

[U-Boot] [PATCH] misc: uclass: Introduce misc_init_by_ofnode

2019-04-24 Thread Keerthy
Introduce misc_init_by_ofnode to probe a misc device using its ofnode. Signed-off-by: Keerthy --- drivers/misc/misc-uclass.c | 25 + include/misc.h | 9 + 2 files changed, 34 insertions(+) diff --git a/drivers/misc/misc-uclass.c b/drivers/misc/misc-u