summaryrefslogtreecommitdiffstats
path: root/drivers/base/platform-msi.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-02-15 16:35:43 +0100
committerThomas Gleixner <tglx@linutronix.de>2024-02-15 17:55:40 +0100
commit1a4671ff7a903e87e4e76213e200bb8bcfa942e4 (patch)
treeabb92cad1f9a204d0e0180c4abdc05b739825c2b /drivers/base/platform-msi.c
parentirqchip: Convert all platform MSI users to the new API (diff)
downloadlinux-1a4671ff7a903e87e4e76213e200bb8bcfa942e4.tar.xz
linux-1a4671ff7a903e87e4e76213e200bb8bcfa942e4.zip
platform-msi: Remove unused interfaces
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/base/platform-msi.c')
-rw-r--r--drivers/base/platform-msi.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c
index b56e919acabb..0d01890160f3 100644
--- a/drivers/base/platform-msi.c
+++ b/drivers/base/platform-msi.c
@@ -206,8 +206,8 @@ static void platform_msi_free_priv_data(struct device *dev)
* Returns:
* Zero for success, or an error code in case of failure
*/
-int platform_msi_domain_alloc_irqs(struct device *dev, unsigned int nvec,
- irq_write_msi_msg_t write_msi_msg)
+static int platform_msi_domain_alloc_irqs(struct device *dev, unsigned int nvec,
+ irq_write_msi_msg_t write_msi_msg)
{
int err;
@@ -221,18 +221,6 @@ int platform_msi_domain_alloc_irqs(struct device *dev, unsigned int nvec,
return err;
}
-EXPORT_SYMBOL_GPL(platform_msi_domain_alloc_irqs);
-
-/**
- * platform_msi_domain_free_irqs - Free MSI interrupts for @dev
- * @dev: The device for which to free interrupts
- */
-void platform_msi_domain_free_irqs(struct device *dev)
-{
- msi_domain_free_irqs_all(dev, MSI_DEFAULT_DOMAIN);
- platform_msi_free_priv_data(dev);
-}
-EXPORT_SYMBOL_GPL(platform_msi_domain_free_irqs);
/**
* platform_msi_get_host_data - Query the private data associated with