From 4ebbf116599909f3fd7b0290fd80af30f1f30984 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 18 Oct 2017 18:01:53 +0200 Subject: [PATCH] core: coding style fix Break the lines according to the kernel coding style. Signed-off-by: Bartosz Golaszewski --- src/lib/core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/core.c b/src/lib/core.c index 0ab0f05..1d5958f 100644 --- a/src/lib/core.c +++ b/src/lib/core.c @@ -401,16 +401,16 @@ int gpiod_line_request(struct gpiod_line *line, static bool line_request_is_direction(int request) { - return request == GPIOD_LINE_REQUEST_DIRECTION_AS_IS - || request == GPIOD_LINE_REQUEST_DIRECTION_INPUT - || request == GPIOD_LINE_REQUEST_DIRECTION_OUTPUT; + return request == GPIOD_LINE_REQUEST_DIRECTION_AS_IS || + request == GPIOD_LINE_REQUEST_DIRECTION_INPUT || + request == GPIOD_LINE_REQUEST_DIRECTION_OUTPUT; } static bool line_request_is_events(int request) { - return request == GPIOD_LINE_REQUEST_EVENT_FALLING_EDGE - || request == GPIOD_LINE_REQUEST_EVENT_RISING_EDGE - || request == GPIOD_LINE_REQUEST_EVENT_BOTH_EDGES; + return request == GPIOD_LINE_REQUEST_EVENT_FALLING_EDGE || + request == GPIOD_LINE_REQUEST_EVENT_RISING_EDGE || + request == GPIOD_LINE_REQUEST_EVENT_BOTH_EDGES; } int gpiod_line_request_bulk(struct gpiod_line_bulk *bulk, -- 2.30.2