Re: [PATCH 1/2] clk: Allow clk_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_clock_get(dev, NULL) to work and get the first clock, > which is common in code ported from Linux. > > Signed-off-by: Samuel Holland > --- > > drivers/clk/clk-uclass.c | 5 +++-- > 1 file changed, 3

Re: [PATCH 1/2] clk: Allow clk_get_by_name() with NULL name

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

[PATCH 1/2] clk: Allow clk_get_by_name() with NULL name

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