Re: [PATCH 2/2] reset: Allow reset_get_by_name() with NULL name

2023-01-04 Thread Simon Glass
Hi Samuel, On Sun, 27 Nov 2022 at 22:54, Samuel Holland wrote: > > This allows devm_reset_control_get(dev, NULL) to work and get the first > reset control, which is common in code ported from Linux. > > Signed-off-by: Samuel Holland > --- > > drivers/reset/reset-uclass.c | 5 +++-- > 1 file

Re: [PATCH 2/2] reset: Allow reset_get_by_name() with NULL name

2023-01-04 Thread Sean Anderson
On 11/28/22 00:53, Samuel Holland wrote: This allows devm_reset_control_get(dev, NULL) to work and get the first reset control, which is common in code ported from Linux. Signed-off-by: Samuel Holland --- drivers/reset/reset-uclass.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH 2/2] reset: Allow reset_get_by_name() with NULL name

2022-11-27 Thread Samuel Holland
This allows devm_reset_control_get(dev, NULL) to work and get the first reset control, which is common in code ported from Linux. Signed-off-by: Samuel Holland --- drivers/reset/reset-uclass.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/reset/reset-uclass.c