enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 30 Aug 2019 20:23:12 +0000 (22:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 06:53:17 +0000 (23:53 -0700)
commitdd7078f05e1b774a9e8c9f117101d97e4ccd0691
treed57d4f700f1a3119674455536beffc11dcf5076c
parentdd1bf47a84fe64edf50f6a83fdc164d0da6fa021
enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions

Call to 'pci_free_irq_vectors()' are missing both in the error handling
path of the probe function, and in the remove function.
Add them.

Fixes: 19971f5ea0ab ("enetc: add PTP clock driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_ptp.c