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:
parent
5bc936e59e
commit
6871b61203
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue