u-boot
u-boot copied to clipboard
pinctrl: fixed compile error caused by potentially uninitialized data pointer
This fixes the gcc "maybe-uninitialized" error, the data pointer is set to NULL by default and checked if it still is NULL after an assignment should have happened.
Build successfully using gcc in version 12.4.0 and successfully boots on my rv1106g3 chip.