diff mbox series

[U-Boot,RESEND,v2,2/4] core: read: Fix style violations

Message ID 20180115100720.20298-2-mario.six@gdsys.cc
State Accepted
Delegated to: Simon Glass
Headers show
Series [U-Boot,RESEND,v2,1/4] core: ofnode: Fix style violations | expand

Commit Message

Mario Six Jan. 15, 2018, 10:07 a.m. UTC
There are some whitespace-related style violations in read.c; fix those.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
---

v1 -> v2:
None

---
 drivers/core/read.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

--
2.11.0

Comments

Simon Glass Jan. 22, 2018, 12:42 a.m. UTC | #1
On 15 January 2018 at 03:07, Mario Six <mario.six@gdsys.cc> wrote:
> There are some whitespace-related style violations in read.c; fix those.
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Mario Six <mario.six@gdsys.cc>
> ---
>
> v1 -> v2:
> None
>
> ---
>  drivers/core/read.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!
diff mbox series

Patch

diff --git a/drivers/core/read.c b/drivers/core/read.c
index 5d440cee72..08955f81fc 100644
--- a/drivers/core/read.c
+++ b/drivers/core/read.c
@@ -66,7 +66,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);
 }
@@ -77,7 +77,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);
 }
@@ -94,9 +94,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,