Skip to content

Commit d2705d3

Browse files
Jiri Slaby (SUSE)KAGA-KOKO
authored andcommitted
irqdomain: Stop using 'host' for domain
It is confusing to see 'host' and 'domain' to be used as 'domain'. Given this header is all about domains, switch the remaining 'host' uses to 'domain'. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250319092951.37667-5-jirislaby@kernel.org
1 parent 0a27ea3 commit d2705d3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/linux/irqdomain.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void of_phandle_args_to_fwspec(struct device_node *np, const u32 *args,
7272

7373
/**
7474
* struct irq_domain_ops - Methods for irq_domain objects
75-
* @match: Match an interrupt controller device node to a host, returns
75+
* @match: Match an interrupt controller device node to a domain, returns
7676
* 1 on a match
7777
* @select: Match an interrupt controller fw specification. It is more generic
7878
* than @match as it receives a complete struct irq_fwspec. Therefore,
@@ -454,7 +454,7 @@ static inline struct irq_domain *irq_domain_add_nomap(struct device_node *of_nod
454454
return IS_ERR(d) ? NULL : d;
455455
}
456456

457-
unsigned int irq_create_direct_mapping(struct irq_domain *host);
457+
unsigned int irq_create_direct_mapping(struct irq_domain *domain);
458458
#endif
459459

460460
static inline struct irq_domain *irq_domain_add_tree(struct device_node *of_node,
@@ -507,24 +507,24 @@ static inline struct irq_domain *irq_domain_create_tree(struct fwnode_handle *fw
507507
return IS_ERR(d) ? NULL : d;
508508
}
509509

510-
void irq_domain_remove(struct irq_domain *host);
510+
void irq_domain_remove(struct irq_domain *domain);
511511

512512
int irq_domain_associate(struct irq_domain *domain, unsigned int irq,
513513
irq_hw_number_t hwirq);
514514
void irq_domain_associate_many(struct irq_domain *domain,
515515
unsigned int irq_base,
516516
irq_hw_number_t hwirq_base, int count);
517517

518-
unsigned int irq_create_mapping_affinity(struct irq_domain *host,
518+
unsigned int irq_create_mapping_affinity(struct irq_domain *domain,
519519
irq_hw_number_t hwirq,
520520
const struct irq_affinity_desc *affinity);
521521
unsigned int irq_create_fwspec_mapping(struct irq_fwspec *fwspec);
522522
void irq_dispose_mapping(unsigned int virq);
523523

524-
static inline unsigned int irq_create_mapping(struct irq_domain *host,
524+
static inline unsigned int irq_create_mapping(struct irq_domain *domain,
525525
irq_hw_number_t hwirq)
526526
{
527-
return irq_create_mapping_affinity(host, hwirq, NULL);
527+
return irq_create_mapping_affinity(domain, hwirq, NULL);
528528
}
529529

530530
struct irq_desc *__irq_resolve_mapping(struct irq_domain *domain,

0 commit comments

Comments
 (0)