From 6871b61203d7175666252f65b8d37e0c69801e8e Mon Sep 17 00:00:00 2001 From: Artur Lipowski Date: Thu, 21 Jan 2021 11:16:33 +0100 Subject: [PATCH] api: remove unnecessary parentheses in DEVICE_NAME_GET. Get rid of compilation warnings caused by additional parentheses. Signed-off-by: Artur Lipowski --- include/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/device.h b/include/device.h index c5fe0053a78..9d0dfe6d3d8 100644 --- a/include/device.h +++ b/include/device.h @@ -43,7 +43,7 @@ extern "C" { * * @return The expanded name of the device object created by DEVICE_DEFINE() */ -#define DEVICE_NAME_GET(name) (_CONCAT(__device_, name)) +#define DEVICE_NAME_GET(name) _CONCAT(__device_, name) /** * @def SYS_DEVICE_DEFINE