fbdev: cyber2000fb: fix missing pci_disable_device()
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 24 Oct 2022 14:00:28 +0000 (22:00 +0800)
committerHelge Deller <deller@gmx.de>
Thu, 27 Oct 2022 18:29:59 +0000 (20:29 +0200)
commit3c6bf6bddc84888c0ce163b09dee0ddd23b5172a
treee487a5808a2b0a28640e8e047d03974b4dc02130
parent835bed1b83952bdbbe874f8ee41d665d52e991de
fbdev: cyber2000fb: fix missing pci_disable_device()

Add missing pci_disable_device() in error path of probe() and remove() path.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/cyber2000fb.c