mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
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:
parent
f9b94ef24d
commit
75a9f98c8f
|
|
@ -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)
|
||||
{
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -9,7 +9,5 @@
|
|||
|
||||
#define DOMAIN_VAPE 0
|
||||
|
||||
/* Number of PM domains. */
|
||||
#define NR_DOMAINS (DOMAIN_VAPE + 1)
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user