Skip to content
Commit 529a1105 authored by Phi Tran's avatar Phi Tran Committed by Anas Nashif
Browse files

drivers: gpio: renesas_rx: Refactor macros for conditional generation



This change introduces GPIO_RX_PORT_IRQ_DECL() and GPIO_RX_PORT_IRQ_ELEM()
macros to conditionally generate GPIO port IRQ declarations and elements
only when the 'port_irq_names' property exists in the device tree node.
This improves code clarity and avoids generating unused code for ports
that do not have IRQ support for Renesas RX

Signed-off-by: default avatarPhi Tran <phi.tran.jg@bp.renesas.com>
parent ef4ec43e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment