gpio/it8xxx2: do not set flag if register does not exist
Since not all GPIOs support voltage selection, voltage flag
is only set if voltage selection register is present.
fixes: #54366
Signed-off-by:
Dino Li <Dino.Li@ite.com.tw>
Loading
Please sign in to comment