The return value of platform_get_irq() needs to be checked.
To avoid use of null pointer
What null pointer, could you please clarify?
in case that there is no irq.
Fixes: 2bc02355f8ba ("usb: dwc3: qcom: Add support for booting with ACPI")
Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>
This has already been addressed by this (yet unmerged) patch:
https://marc.info/?l=linux-usb&m=162854066430255
Why not wait until that patch is actually merged? Otherwise all of this
work is moot.
greg k-h