drivers: i3c: cdns: remove local DIV_ROUND_UP

The definition is already provided by zephyr/sys/util.h.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2023-04-06 10:24:39 +02:00 committed by Carles Cufí
commit 6ec50005db

View file

@ -12,6 +12,7 @@
#include <zephyr/logging/log.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/sys/util.h>
#define DEV_ID 0x0
#define DEV_ID_I3C_MASTER 0x5034
@ -365,7 +366,6 @@
/*******************************************************************************
* Local Constants Definition
******************************************************************************/
#define DIV_ROUND_UP(n, d) (((n) + (d)-1) / (d))
/* TODO: this needs to be configurable in the dts...somehow */
#define I3C_CONTROLLER_ADDR 0x08