Skip to content

Commit 8212140

Browse files
stephanosiocarlescufi
authored andcommitted
drivers: emul: Remove redundant parentheses in macros
This commit removes redundant parentheses in the macro definitions to fix the `-Wparentheses` warning: warning: unnecessary parentheses in declaration of '...' [-Wparentheses] Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent e74c391 commit 8212140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/drivers/emul.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ extern const struct emul __emul_list_end[];
9595
*
9696
* @param node_id A devicetree node identifier
9797
*/
98-
#define EMUL_DT_NAME_GET(node_id) (_CONCAT(__emulreg_, node_id))
98+
#define EMUL_DT_NAME_GET(node_id) _CONCAT(__emulreg_, node_id)
9999

100100
/* Get a unique identifier based on the given _dev_node_id's reg property and
101101
* the bus its on. Intended for use in other internal macros when declaring {bus}_emul

0 commit comments

Comments
 (0)