diff mbox series

[U-Boot,012/080] clk: clk_fixed_rate: Fix style violation

Message ID 20170929125238.26226-12-mario.six@gdsys.cc
State Accepted
Commit e2db9e7a06ad4b9eb174859c2a27856fd2af97ad
Delegated to: Wolfgang Denk
Headers show
Series [U-Boot,001/080] mpc8308rdb: Fix style violation | expand

Commit Message

Mario Six Sept. 29, 2017, 12:51 p.m. UTC
Fix a mis-indented function call in clk_fixed_rate.c

Signed-off-by: Mario Six <mario.six@gdsys.cc>
---
 drivers/clk/clk_fixed_rate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Glass Oct. 9, 2017, 4:46 a.m. UTC | #1
On 29 September 2017 at 06:51, Mario Six <mario.six@gdsys.cc> wrote:
> Fix a mis-indented function call in clk_fixed_rate.c
>
> Signed-off-by: Mario Six <mario.six@gdsys.cc>
> ---
>  drivers/clk/clk_fixed_rate.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c
index 63565b6ed8..9dd6bc5726 100644
--- a/drivers/clk/clk_fixed_rate.c
+++ b/drivers/clk/clk_fixed_rate.c
@@ -31,8 +31,8 @@  const struct clk_ops clk_fixed_rate_ops = {
 static int clk_fixed_rate_ofdata_to_platdata(struct udevice *dev)
 {
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
-	to_clk_fixed_rate(dev)->fixed_rate = dev_read_u32_default(dev,
-							"clock-frequency", 0);
+	to_clk_fixed_rate(dev)->fixed_rate =
+		dev_read_u32_default(dev, "clock-frequency", 0);
 #endif
 
 	return 0;