diff options
author | Dan Carpenter <[email protected]> | 2023-06-06 11:21:22 +0300 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-06-13 11:57:26 -0700 |
commit | 3aed112953b1877ede66ae77afa4e5a5024be7cb (patch) | |
tree | 7296df8d07dd5813d3c6a2e52c1dffb263222d37 /drivers/fpga/fpga-mgr.c | |
parent | d9c2a255cfe026c8bf85a39631734f022ecefaff (diff) |
soc: qcom: Fix a IS_ERR() vs NULL bug in probe
The devm_ioremap() function returns NULL on error, it never returns
error pointers.
Fixes: a77b2a0b1280 ("soc: qcom: Introduce RPM master stats driver")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/ZH7sgpLAN23bCz9v@moroto
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions