]> git.baikalelectronics.ru Git - kernel.git/commit
misc: microchip: pci1xxxx: Do not disable the pci device twice in gp_aux_bus_remove()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 18 Sep 2022 06:27:24 +0000 (08:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2022 14:54:31 +0000 (16:54 +0200)
commit5cc85f2d10548253a3a96e9333ed10ef635335c3
tree8c89493d87d00ab899b02380f982eb911bc53045
parent598608fce8794a5463e863048c2cf652392a9432
misc: microchip: pci1xxxx: Do not disable the pci device twice in gp_aux_bus_remove()

gp_aux_bus_probe() uses pcim_enable_device(), so there is no point in
calling pci_disable_device() explicitly in the remove function.

Fixes: 7388563b8445 ("misc: microchip: pci1xxxx: load auxiliary bus driver for the PIO function in the multi-function endpoint of pci1xxxx device.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/8a3a385b3ae15ee7497469ec3250302b626a018b.1663482259.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c