Skip to content
Commit 762eadc1 authored by Kumar Gala's avatar Kumar Gala Committed by Carles Cufí
Browse files

drivers: gpio: dw: rework init to use DT_INST_FOREACH_STATUS_OKAY



Use DT_INST_FOREACH_STATUS_OKAY to reduce duplicated code for each
instance.

We make interrupts optional since they aren't always available.

Signed-off-by: default avatarKumar Gala <galak@kernel.org>
parent 8a97bbd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment