[PATCH 3/3] pmdomain: core: Remove unused generic_pm_domain_data.data

From: Geert Uytterhoeven

Date: Thu Nov 19 2026 - 08:23:37 EST


This reverts commit a5ea7a0fcbd7376b2c9fcb15fe59fec298c9ce9f.

The data pointer was added to the generic_pm_domain_data structure
specifically for use by the TI SCI Generic Power Domain Driver, but that
driver stopped using it in commit efa5c01cd7ee2042 ("soc: ti:
ti_sci_pm_domains: switch to use multiple genpds instead of one").
A new dummy user appeared in commit 58cbff023bfaeb9c ("soc: ti:
omap-prm: Add basic power domain support"), probably inspired by the
former, but it was removed, too.

Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
include/linux/pm_domain.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index d65ee8b3725c1bcb..0f2a9bf48c3e388d 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -304,7 +304,6 @@ struct generic_pm_domain_data {
unsigned int opp_token;
bool hw_mode;
bool rpm_always_on;
- void *data;
};

#ifdef CONFIG_PM_GENERIC_DOMAINS
--
2.43.0