Skip to content

Commit 2c2453c

Browse files
jonathannilsenrlubos
authored andcommitted
[nrf fromlist] soc: nordic: ironside: run clang-format on some files
Upstream PR #: 93768 Format a few files with clang-format. Signed-off-by: Jonathan Nilsen <[email protected]>
1 parent 722b043 commit 2c2453c

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

soc/nordic/ironside/include/nrf_ironside/dvfs.h

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ enum ironside_dvfs_oppoint {
3131
*/
3232

3333
/** The requested DVFS oppoint is not allowed. */
34-
#define IRONSIDE_DVFS_ERROR_WRONG_OPPOINT (1)
34+
#define IRONSIDE_DVFS_ERROR_WRONG_OPPOINT (1)
3535
/** Waiting for mutex lock timed out, or hardware is busy. */
36-
#define IRONSIDE_DVFS_ERROR_BUSY (2)
36+
#define IRONSIDE_DVFS_ERROR_BUSY (2)
3737
/** There is configuration error in the DVFS service. */
38-
#define IRONSIDE_DVFS_ERROR_OPPOINT_DATA (3)
38+
#define IRONSIDE_DVFS_ERROR_OPPOINT_DATA (3)
3939
/** The caller does not have permission to change the DVFS oppoint. */
40-
#define IRONSIDE_DVFS_ERROR_PERMISSION (4)
40+
#define IRONSIDE_DVFS_ERROR_PERMISSION (4)
4141
/** The requested DVFS oppoint is already set, no change needed. */
4242
#define IRONSIDE_DVFS_ERROR_NO_CHANGE_NEEDED (5)
4343
/** The operation timed out, possibly due to a hardware issue. */
44-
#define IRONSIDE_DVFS_ERROR_TIMEOUT (6)
44+
#define IRONSIDE_DVFS_ERROR_TIMEOUT (6)
4545
/** The DVFS oppoint change operation is not allowed in the ISR context. */
46-
#define IRONSIDE_DVFS_ERROR_ISR_NOT_ALLOWED (7)
46+
#define IRONSIDE_DVFS_ERROR_ISR_NOT_ALLOWED (7)
4747

4848
/**
4949
* @}
@@ -80,8 +80,7 @@ int ironside_dvfs_change_oppoint(enum ironside_dvfs_oppoint dvfs_oppoint);
8080
*/
8181
static inline bool ironside_dvfs_is_oppoint_valid(enum ironside_dvfs_oppoint dvfs_oppoint)
8282
{
83-
if (dvfs_oppoint != IRONSIDE_DVFS_OPP_HIGH &&
84-
dvfs_oppoint != IRONSIDE_DVFS_OPP_MEDLOW &&
83+
if (dvfs_oppoint != IRONSIDE_DVFS_OPP_HIGH && dvfs_oppoint != IRONSIDE_DVFS_OPP_MEDLOW &&
8584
dvfs_oppoint != IRONSIDE_DVFS_OPP_LOW) {
8685
return false;
8786
}

soc/nordic/ironside/include/nrf_ironside/update.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/* Index of the update blob pointer within the service buffer. */
4141
#define IRONSIDE_UPDATE_SERVICE_UPDATE_PTR_IDX (0)
4242
/* Index of the return code within the service buffer. */
43-
#define IRONSIDE_UPDATE_SERVICE_RETCODE_IDX (0)
43+
#define IRONSIDE_UPDATE_SERVICE_RETCODE_IDX (0)
4444

4545
/**
4646
* @brief IronSide update blob.

0 commit comments

Comments
 (0)