fbdev: pm2fb: fix missing pci_disable_device()
authorYang Yingliang <yangyingliang@huawei.com>
Sat, 12 Nov 2022 09:55:10 +0000 (17:55 +0800)
committerHelge Deller <deller@gmx.de>
Wed, 14 Dec 2022 19:01:50 +0000 (20:01 +0100)
commited359a464846b48f76ea6cc5cd8257e545ac97f4
tree02695fb4ec10a87fe57f99d62da7c26140e81af3
parenteceadc9219884fa4b05bf56cace688b77a2563e0
fbdev: pm2fb: 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/pm2fb.c