This define specifies the maximum number of lines that can be
requested in a single operation. Make it clear with the new name.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
GPIOD_REQUEST_OPEN_SOURCE = GPIOD_BIT(6),
};
-#define GPIOD_MAX_LINES 64
+#define GPIOD_REQUEST_MAX_LINES 64
struct gpiod_line;
}
struct gpiod_line_bulk {
- struct gpiod_line *lines[GPIOD_MAX_LINES];
+ struct gpiod_line *lines[GPIOD_REQUEST_MAX_LINES];
unsigned int num_lines;
};