Commit 44a0d880 authored by Wenhua Lin's avatar Wenhua Lin Committed by Bartosz Golaszewski
Browse files

gpio: eic-sprd: Optimize the calculation method of eic number



The num_eics is a default value, but some SoCs support more than 8.
In order to adapt to all projects, the total number of eics is
automatically calculated through dts.

Signed-off-by: default avatarWenhua Lin <Wenhua.Lin@unisoc.com>
Acked-by: default avatarChunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent c055f7ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment