Input: emu10k1-gp - add missing calls to pci_disable_device()
authorRahul Ruikar <rahul.ruikar@gmail.com>
Thu, 30 Sep 2010 01:12:46 +0000 (18:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Sep 2010 01:25:52 +0000 (18:25 -0700)
commitd8daece8f457883e8f2e3065a1e02322ed444ddb
treec32ae47db4b4802f461fcdab15f3654489c04c59
parent727eeb7dbeac8a7ecd2ad943eb27a5566ab83601
Input: emu10k1-gp - add missing calls to pci_disable_device()

pci_disable_device() is called for following 2 cases
- error path in emu_probe()
- in emu_remove()

Signed-off-by: Rahul Ruikar <rahul.ruikar@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/gameport/emu10k1-gp.c