Add spaces before and after '+' in array size definitions.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
struct gpiod_chip_info {
size_t num_lines;
- char name[GPIO_MAX_NAME_SIZE+1];
- char label[GPIO_MAX_NAME_SIZE+1];
+ char name[GPIO_MAX_NAME_SIZE + 1];
+ char label[GPIO_MAX_NAME_SIZE + 1];
};
GPIOD_API void gpiod_chip_info_free(struct gpiod_chip_info *info)
struct gpiod_line_info {
unsigned int offset;
- char name[GPIO_MAX_NAME_SIZE+1];
+ char name[GPIO_MAX_NAME_SIZE + 1];
bool used;
- char consumer[GPIO_MAX_NAME_SIZE+1];
+ char consumer[GPIO_MAX_NAME_SIZE + 1];
enum gpiod_line_direction direction;
bool active_low;
enum gpiod_line_bias bias;