This is an automated email from Gerrit.

"Laszlo Sitzer <dlsit...@gmail.com>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/6740

-- gerrit

commit 4113fb55ed2bd4bc0e0fac7b59f97210daab0ae6
Author: Laszlo Sitzer <dlsit...@gmail.com>
Date:   Mon Nov 22 12:53:36 2021 +0100

    linuxgpiod: Try fixup style issues.
    
    Change-Id: I8d3ee7ac9dddbb1bba1c7e96af3f10361fae8faf
    Signed-off-by: Laszlo Sitzer <dlsit...@gmail.com>

diff --git a/src/jtag/drivers/linuxgpiod.c b/src/jtag/drivers/linuxgpiod.c
index b60ef4dca..7427df141 100644
--- a/src/jtag/drivers/linuxgpiod.c
+++ b/src/jtag/drivers/linuxgpiod.c
@@ -304,7 +304,9 @@ static int linuxgpiod_quit(void)
        return ERROR_OK;
 }
 
-static struct gpiod_line *helper_get_line(const char *label, struct gpiod_chip 
*gpiod_chip, unsigned int offset, int val, int dir, int flags)
+static struct gpiod_line *helper_get_line(const char *label,
+               struct gpiod_chip *gpiod_chip, unsigned int offset,
+               int val, int dir, int flags)
 {
        struct gpiod_line *line;
        int retval;
@@ -330,19 +332,25 @@ static struct gpiod_line *helper_get_line(const char 
*label, struct gpiod_chip *
        return line;
 }
 
-static struct gpiod_line *helper_get_input_line(const char *label, struct 
gpiod_chip *gpiod_chip, unsigned int offset)
+static struct gpiod_line *helper_get_input_line(const char *label,
+               struct gpiod_chip *gpiod_chip, unsigned int offset)
 {
-       return helper_get_line(label, gpiod_chip, offset, 0, 
GPIOD_LINE_REQUEST_DIRECTION_INPUT, 0);
+       return helper_get_line(label, gpiod_chip, offset, 0,
+                       GPIOD_LINE_REQUEST_DIRECTION_INPUT, 0);
 }
 
-static struct gpiod_line *helper_get_output_line(const char *label, struct 
gpiod_chip *gpiod_chip, unsigned int offset, int val)
+static struct gpiod_line *helper_get_output_line(const char *label,
+               struct gpiod_chip *gpiod_chip, unsigned int offset, int val)
 {
-       return helper_get_line(label, gpiod_chip, offset, val, 
GPIOD_LINE_REQUEST_DIRECTION_OUTPUT, 0);
+       return helper_get_line(label, gpiod_chip, offset, val,
+                       GPIOD_LINE_REQUEST_DIRECTION_OUTPUT, 0);
 }
 
-static struct gpiod_line *helper_get_open_drain_output_line(const char *label, 
struct gpiod_chip *gpiod_chip, unsigned int offset, int val)
+static struct gpiod_line *helper_get_open_drain_output_line(const char *label,
+               struct gpiod_chip *gpiod_chip, unsigned int offset, int val)
 {
-       return helper_get_line(label, gpiod_chip, offset, val, 
GPIOD_LINE_REQUEST_DIRECTION_OUTPUT, GPIOD_LINE_REQUEST_FLAG_OPEN_DRAIN);
+       return helper_get_line(label, gpiod_chip, offset, val,
+                       GPIOD_LINE_REQUEST_DIRECTION_OUTPUT, 
GPIOD_LINE_REQUEST_FLAG_OPEN_DRAIN);
 }
 
 static int linuxgpiod_init(void)

-- 

Reply via email to