Skip to content
Commit 3f3327db authored by Phil Edworthy's avatar Phil Edworthy Committed by Geert Uytterhoeven
Browse files

pinctrl: rzn1: Fix of_get_child_count() error check



If we assign the result of of_get_child_count() to an unsigned int,
the code will not detect any errors. Therefore assign it to an int
instead.

Signed-off-by: default avatarPhil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 8deaaa46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment