Skip to content

Commit 9fa6209

Browse files
seov-nordicnordic-auko
authored andcommitted
[nrf fromtree] drivers: mfd: npm2100: align formatting
Align formatting of defines at the top of the mfd_npm2100.c file Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit 5aeae41)
1 parent 3674104 commit 9fa6209

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

drivers/mfd/mfd_npm2100.c

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@
1414
#include <zephyr/drivers/gpio/gpio_utils.h>
1515
#include <zephyr/drivers/mfd/npm2100.h>
1616

17-
#define EVENTS_SET 0x00U
18-
#define EVENTS_CLR 0x05U
19-
#define INTEN_SET 0x0AU
20-
#define GPIO_CONFIG 0x80U
21-
#define GPIO_USAGE 0x83U
22-
#define TIMER_TASKS_START 0xB0U
23-
#define TIMER_CONFIG 0xB3U
24-
#define TIMER_TARGET 0xB4U
25-
#define TIMER_STATUS 0xB7U
26-
#define SHPHLD_WAKEUP 0xC1U
27-
#define SHPHLD_SHPHLD 0xC2U
28-
#define HIBERNATE_TASKS_HIBER 0xC8U
17+
#define EVENTS_SET 0x00U
18+
#define EVENTS_CLR 0x05U
19+
#define INTEN_SET 0x0AU
20+
#define GPIO_CONFIG 0x80U
21+
#define GPIO_USAGE 0x83U
22+
#define TIMER_TASKS_START 0xB0U
23+
#define TIMER_CONFIG 0xB3U
24+
#define TIMER_TARGET 0xB4U
25+
#define TIMER_STATUS 0xB7U
26+
#define SHPHLD_WAKEUP 0xC1U
27+
#define SHPHLD_SHPHLD 0xC2U
28+
#define HIBERNATE_TASKS_HIBER 0xC8U
2929
#define HIBERNATE_TASKS_HIBERPT 0xC9U
30-
#define RESET_TASKS_RESET 0xD0U
31-
#define RESET_BUTTON 0xD2U
32-
#define RESET_PIN 0xD3U
33-
#define RESET_WRITESTICKY 0xDBU
34-
#define RESET_STROBESTICKY 0xDCU
30+
#define RESET_TASKS_RESET 0xD0U
31+
#define RESET_BUTTON 0xD2U
32+
#define RESET_PIN 0xD3U
33+
#define RESET_WRITESTICKY 0xDBU
34+
#define RESET_STROBESTICKY 0xDCU
3535

3636
#define SHPHLD_RESISTOR_MASK 0x03U
3737
#define SHPHLD_RESISTOR_PULLUP 0x00U

0 commit comments

Comments
 (0)