diff options
author | 2021-11-17 11:51:00 +0000 | |
---|---|---|
committer | 2021-11-19 11:40:02 +0100 | |
commit | fa58e465542e48b6ab2336350dae76d1cf83ceb1 (patch) | |
tree | a57e91ce2a9c318e592606cd8b8f7ca8af846754 /lib/test_overflow.c | |
parent | clk: renesas: rzg2l: propagate return value of_genpd_add_provider_simple() (diff) | |
download | linux-dev-fa58e465542e48b6ab2336350dae76d1cf83ceb1.tar.xz linux-dev-fa58e465542e48b6ab2336350dae76d1cf83ceb1.zip |
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/test_overflow.c')
0 files changed, 0 insertions, 0 deletions