Message ID | 20210427105751.1.I8857039ef25da53d584827b3056e461a9f7b323a@changeid |
---|---|
State | Accepted |
Commit | c262522fd4ed453c079b09eb738ec4cbe4812478 |
Delegated to: | Patrice Chotard |
Headers | show |
Series | clk: cosmetic change in uclass | expand |
Hi Patrick On 4/27/21 10:57 AM, Patrick Delaunay wrote: > Remove the tab in clk_get_bulk to respect the coding rules. > > Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> > --- > > drivers/clk/clk-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c > index 4ab3c402ed..b126c5ed60 100644 > --- a/drivers/clk/clk-uclass.c > +++ b/drivers/clk/clk-uclass.c > @@ -159,7 +159,7 @@ int clk_get_by_index_nodev(ofnode node, int index, struct clk *clk) > int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk) > { > int i, ret, err, count; > - > + > bulk->count = 0; > > count = dev_count_phandle_with_args(dev, "clocks", "#clock-cells", 0); > Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Thanks Patrice
Hi Patrick On 6/18/21 8:41 AM, Patrice CHOTARD wrote: > Hi Patrick > > On 4/27/21 10:57 AM, Patrick Delaunay wrote: >> Remove the tab in clk_get_bulk to respect the coding rules. >> >> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> >> --- >> >> drivers/clk/clk-uclass.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c >> index 4ab3c402ed..b126c5ed60 100644 >> --- a/drivers/clk/clk-uclass.c >> +++ b/drivers/clk/clk-uclass.c >> @@ -159,7 +159,7 @@ int clk_get_by_index_nodev(ofnode node, int index, struct clk *clk) >> int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk) >> { >> int i, ret, err, count; >> - >> + >> bulk->count = 0; >> >> count = dev_count_phandle_with_args(dev, "clocks", "#clock-cells", 0); >> > > Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> > > Thanks > Patrice > _______________________________________________ > Uboot-stm32 mailing list > Uboot-stm32@st-md-mailman.stormreply.com > https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32 > Applied on u-boot-stm32/next Thanks
diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index 4ab3c402ed..b126c5ed60 100644 --- a/drivers/clk/clk-uclass.c +++ b/drivers/clk/clk-uclass.c @@ -159,7 +159,7 @@ int clk_get_by_index_nodev(ofnode node, int index, struct clk *clk) int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk) { int i, ret, err, count; - + bulk->count = 0; count = dev_count_phandle_with_args(dev, "clocks", "#clock-cells", 0);
Remove the tab in clk_get_bulk to respect the coding rules. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> --- drivers/clk/clk-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)