diff mbox series

[U-Boot,008/080] core: read: Fix style violations

Message ID 20170929125238.26226-8-mario.six@gdsys.cc
State Accepted
Commit 83a462a5e3560800b3cdfd7253d2de7791968331
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
There are some whitespace-related style violations in read.c; fix those.

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

Comments

Simon Glass Oct. 9, 2017, 4:45 a.m. UTC | #1
On 29 September 2017 at 06:51, Mario Six <mario.six@gdsys.cc> wrote:
> There are some whitespace-related style violations in read.c; fix those.
>
> Signed-off-by: Mario Six <mario.six@gdsys.cc>
> ---
>  drivers/core/read.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

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

Patch

diff --git a/drivers/core/read.c b/drivers/core/read.c
index eacf1716fd..2766d228a6 100644
--- a/drivers/core/read.c
+++ b/drivers/core/read.c
@@ -65,7 +65,7 @@  void *dev_read_addr_ptr(struct udevice *dev)
 }
 
 fdt_addr_t dev_read_addr_size(struct udevice *dev, const char *property,
-				fdt_size_t *sizep)
+			      fdt_size_t *sizep)
 {
 	return ofnode_get_addr_size(dev_ofnode(dev), property, sizep);
 }
@@ -76,7 +76,7 @@  const char *dev_read_name(struct udevice *dev)
 }
 
 int dev_read_stringlist_search(struct udevice *dev, const char *property,
-			  const char *string)
+			       const char *string)
 {
 	return ofnode_stringlist_search(dev_ofnode(dev), property, string);
 }
@@ -93,9 +93,8 @@  int dev_read_string_count(struct udevice *dev, const char *propname)
 }
 
 int dev_read_phandle_with_args(struct udevice *dev, const char *list_name,
-				const char *cells_name, int cell_count,
-				int index,
-				struct ofnode_phandle_args *out_args)
+			       const char *cells_name, int cell_count,
+			       int index, struct ofnode_phandle_args *out_args)
 {
 	return ofnode_parse_phandle_with_args(dev_ofnode(dev), list_name,
 					      cells_name, cell_count, index,