atm: eni: fix the missed pci_disable_device() for eni_init_one()
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Fri, 4 Sep 2020 02:51:03 +0000 (10:51 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Sep 2020 04:42:57 +0000 (21:42 -0700)
commitc2b947879ca320ac5505c6c29a731ff17da5e805
treed04e1f2bd6c5827b9438c16cf034ec70999bf2cd
parent44a049c42681de71c783d75cd6e56b4e339488b0
atm: eni: fix the missed pci_disable_device() for eni_init_one()

eni_init_one() misses to call pci_disable_device() in an error path.
Jump to err_disable to fix it.

Fixes: ede58ef28e10 ("atm: remove deprecated use of pci api")
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/atm/eni.c