kernel-hacking-2024-linux-s.../drivers/misc/mei
Tomas Winkler a44cab4aff misc: mei: unregister misc device in pci_remove function
Since the misc device is registered only in the pci probe function
it has to be also unregistered in the counterpart pci remove function
and not in the module exit function.
In case of probe failure the driver was oopsing in module exit function.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-13 13:52:14 -07:00
..
hw.h
init.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
interface.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
interface.h mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
interrupt.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
iorw.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
Kconfig
main.c misc: mei: unregister misc device in pci_remove function 2012-06-13 13:52:14 -07:00
Makefile
mei_dev.h mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
wd.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00