include/gpio_list.h: Format with clang-format
BRANCH=none
TEST=none
@@ -64,7 +64,8 @@ const int gpio_ih_count = ARRAY_SIZE(gpio_irq_handlers);
* The compiler will complain if we use the same name twice. The linker ignores
* anything that gets by.
*/
-#define PIN(a, b...) static const int _pin_ ## a ## _ ## b \
+#define PIN(a, b...) \
+ static const int _pin_##a##_##b \
__attribute__((unused, section(".unused"))) = __LINE__;
#include "gpio.wrap"
@@ -117,8 +118,8 @@ const int ioex_ih_count = ARRAY_SIZE(ioex_irq_handlers);
* file.
*/
#define IOEX_INT(name, expin, flags, handler) \
- BUILD_ASSERT(IOEX_##name - IOEX_SIGNAL_START \
- < ARRAY_SIZE(ioex_irq_handlers));
+ BUILD_ASSERT(IOEX_##name - IOEX_SIGNAL_START < \
+ ARRAY_SIZE(ioex_irq_handlers));
#include "gpio.wrap"
#define IOEX(name, expin, flags) expin
