summaryrefslogtreecommitdiffstats
path: root/drivers/base/platform-msi.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-06-22 12:42:50 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-06-22 18:29:17 +0200
commit96f0d93a487e13233c95397aa3ecaf9cc8ff04bf (patch)
treececd2e118242ed842e730a930262deaa8194c793 /drivers/base/platform-msi.c
parentgenirq/irqdomain: Add irq_domain_update_bus_token helper (diff)
downloadlinux-96f0d93a487e13233c95397aa3ecaf9cc8ff04bf.tar.xz
linux-96f0d93a487e13233c95397aa3ecaf9cc8ff04bf.zip
irqchip/MSI: Use irq_domain_update_bus_token instead of an open coded access
Now that we have irq_domain_update_bus_token(), switch everyone over to it. The debugfs code thanks you for your continued support. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/base/platform-msi.c')
-rw-r--r--drivers/base/platform-msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c
index d35e9a20caf7..e5473525e7b2 100644
--- a/drivers/base/platform-msi.c
+++ b/drivers/base/platform-msi.c
@@ -195,7 +195,7 @@ struct irq_domain *platform_msi_create_irq_domain(struct fwnode_handle *fwnode,
domain = msi_create_irq_domain(fwnode, info, parent);
if (domain)
- domain->bus_token = DOMAIN_BUS_PLATFORM_MSI;
+ irq_domain_update_bus_token(domain, DOMAIN_BUS_PLATFORM_MSI);
return domain;
}