diff options
author | Niklas Söderlund <[email protected]> | 2020-03-10 12:47:09 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-03-20 12:17:48 +0100 |
commit | 39056e8a989ef52486e063e34b4822b341e47b0e (patch) | |
tree | 6cab8c428d8a4a11f4dd9aa5e937d2d02b42494e /lib/mpi/mpi-div.c | |
parent | a9d8e61b936dd0cc23398a1e6a7a334d554e11b0 (diff) |
thermal: rcar_thermal: Handle probe error gracefully
If the common register memory resource is not available the driver needs
to fail gracefully to disable PM. Instead of returning the error
directly store it in ret and use the already existing error path.
Signed-off-by: Niklas Söderlund <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions