device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE
Now that we generate a header that extern's all possible devicetree based device struct we can remove DEVICE_DT_DECLARE and DEVICE_DT_INST_DECLARE as they aren't needed anymore. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
98b6e4f834
commit
02703e60d9
55 changed files with 2 additions and 160 deletions
|
@ -1173,8 +1173,6 @@ static const struct uart_driver_api uart_xlnx_ps_driver_api = {
|
|||
.irq_config_func = uart_xlnx_ps_irq_config_##port,
|
||||
|
||||
#define UART_XLNX_PS_IRQ_CONF_FUNC(port) \
|
||||
DEVICE_DT_INST_DECLARE(port); \
|
||||
\
|
||||
static void uart_xlnx_ps_irq_config_##port(const struct device *dev) \
|
||||
{ \
|
||||
IRQ_CONNECT(DT_INST_IRQN(port), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue