From: Bartosz Golaszewski Date: Wed, 18 Oct 2017 16:01:53 +0000 (+0200) Subject: core: coding style fix X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4ebbf116599909f3fd7b0290fd80af30f1f30984;p=qemu-gpiodev%2Flibgpiod.git core: coding style fix Break the lines according to the kernel coding style. Signed-off-by: Bartosz Golaszewski --- 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,