soc: qcom: pil: Return an error if no restart reg is defined
Return an error if no restart reg is defined in the device tree node.
This will also help avoid a potential NULL ptr dereference.
Change-Id: I866bd163853e64251288eb4286044fefdb9b0640
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
Loading
Please register or sign in to comment