pmdomain: renesas: rcar: Remove obsolete nullify checks
commit 13a6d4265665201a795a2ff5a3e6e4d183fc9c33 upstream.
All nullify users and helpers were removed, but the R-Car SYSC drivers
still checked for nullified domains. Remove the obsolete checks.
Fixes: c8d8770444 ("pmdomain: renesas: rcar-sysc: Remove rcar_sysc_nullify() helper")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/107f2bf9f13b29f0f623d2959a5347ec151fb089.1745840768.git.geert+renesas@glider.be
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a6ddbf9ae7
commit
0ae82a7abf
@@ -338,11 +338,6 @@ static int __init rcar_gen4_sysc_pd_init(void)
|
|||||||
struct rcar_gen4_sysc_pd *pd;
|
struct rcar_gen4_sysc_pd *pd;
|
||||||
size_t n;
|
size_t n;
|
||||||
|
|
||||||
if (!area->name) {
|
|
||||||
/* Skip NULLified area */
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
n = strlen(area->name) + 1;
|
n = strlen(area->name) + 1;
|
||||||
pd = kzalloc(sizeof(*pd) + n, GFP_KERNEL);
|
pd = kzalloc(sizeof(*pd) + n, GFP_KERNEL);
|
||||||
if (!pd) {
|
if (!pd) {
|
||||||
|
|||||||
@@ -396,11 +396,6 @@ static int __init rcar_sysc_pd_init(void)
|
|||||||
struct rcar_sysc_pd *pd;
|
struct rcar_sysc_pd *pd;
|
||||||
size_t n;
|
size_t n;
|
||||||
|
|
||||||
if (!area->name) {
|
|
||||||
/* Skip NULLified area */
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
n = strlen(area->name) + 1;
|
n = strlen(area->name) + 1;
|
||||||
pd = kzalloc(sizeof(*pd) + n, GFP_KERNEL);
|
pd = kzalloc(sizeof(*pd) + n, GFP_KERNEL);
|
||||||
if (!pd) {
|
if (!pd) {
|
||||||
|
|||||||
Reference in New Issue
Block a user