dt-bindings: arm: ux500: Drop NR_DOMAINS

Keep the internal Ux500 PM domain count local to the only driver
that uses it.

Do not expose this implementation detail through the DT binding header.

Assisted-by: LLM
Suggested-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
This commit is contained in:
Linus Walleij 2026-10-09 14:15:05 +02:00 committed by Ulf Hansson
parent f9b94ef24d
commit 75a9f98c8f
2 changed files with 2 additions and 2 deletions

View File

@ -17,6 +17,8 @@
#include <dt-bindings/arm/ux500_pm_domains.h>
#define NR_DOMAINS (DOMAIN_VAPE + 1)
static int pd_power_off(struct generic_pm_domain *domain)
{
/*

View File

@ -9,7 +9,5 @@
#define DOMAIN_VAPE 0
/* Number of PM domains. */
#define NR_DOMAINS (DOMAIN_VAPE + 1)
#endif