api: remove unnecessary parentheses in DEVICE_NAME_GET.

Get rid of compilation warnings caused by additional parentheses.

Signed-off-by: Artur Lipowski <Artur.Lipowski@hidglobal.com>
This commit is contained in:
Artur Lipowski 2021-01-21 11:16:33 +01:00 committed by Kumar Gala
commit 6871b61203

View file

@ -43,7 +43,7 @@ extern "C" {
* *
* @return The expanded name of the device object created by DEVICE_DEFINE() * @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 * @def SYS_DEVICE_DEFINE