diff options
-rw-r--r-- | drivers/platform/mellanox/mlxreg-hotplug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/mellanox/mlxreg-hotplug.c b/drivers/platform/mellanox/mlxreg-hotplug.c index 687ce6817d0d..f85a1b9d129b 100644 --- a/drivers/platform/mellanox/mlxreg-hotplug.c +++ b/drivers/platform/mellanox/mlxreg-hotplug.c | |||
@@ -694,6 +694,7 @@ static int mlxreg_hotplug_remove(struct platform_device *pdev) | |||
694 | 694 | ||
695 | /* Clean interrupts setup. */ | 695 | /* Clean interrupts setup. */ |
696 | mlxreg_hotplug_unset_irq(priv); | 696 | mlxreg_hotplug_unset_irq(priv); |
697 | devm_free_irq(&pdev->dev, priv->irq, priv); | ||
697 | 698 | ||
698 | return 0; | 699 | return 0; |
699 | } | 700 | } |