diff options
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2021-11-17 11:51:00 +0000 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-11-19 11:40:02 +0100 |
commit | fa58e465542e48b6ab2336350dae76d1cf83ceb1 (patch) | |
tree | a57e91ce2a9c318e592606cd8b8f7ca8af846754 /lib/mpi/mpi-mod.c | |
parent | 33748744f15a110a233b6ae0380f476006e770f0 (diff) |
clk: renesas: cpg-mssr: Check return value of pm_genpd_init()
Make sure we check the return value of pm_genpd_init() which might fail.
Also add a devres action to remove the power-domain in-case the probe
callback fails further down in the code flow.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20211117115101.28281-4-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions