Skip to contentSkip to conversation

drivers-pcmcia-yenta_socketc-convert-to-module_pci_driver.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 30, 2013 Pcmcia

lore
Share & tools
lore
#0 lore raw

Subject: [merged] drivers-pcmcia-yenta_socketc-convert-to-module_pci_driver.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 30 Sep 2013 11:57:34 -0700

The patch titled
Subject: drivers/pcmcia/yenta_socket.c: convert to module_pci_driver
has been removed from the -mm tree. Its filename was
drivers-pcmcia-yenta_socketc-convert-to-module_pci_driver.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Libo Chen <[email protected]>
Subject: drivers/pcmcia/yenta_socket.c: convert to module_pci_driver

Use module_pci_driver instead of init/exit, make code clean.

Cc Dominik Brodowski <[email protected]>
Cc Bill Pemberton <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Eric Miao <[email protected]>
Cc Bjorn Helgaas <[email protected]>

---

 drivers/pcmcia/yenta_socket.c |   16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)
drivers/pcmcia/yenta_socket.c renamed from drivers/pcmcia/yenta_socket.c~drivers-pcmcia-yenta_socketc-convert-to-module_pci_driver +0 -12
diff -puN drivers/pcmcia/yenta_socket.c~drivers-pcmcia-yenta_socketc-convert-to-module_pci_driver drivers/pcmcia/yenta_socket.c
@@ -1439,20 +1439,6 @@ static struct pci_driver yenta_cardbus_d
 	.driver.pm	= YENTA_PM_OPS,
 };
 
-
-static int __init yenta_socket_init(void)
-{
-	return pci_register_driver(&yenta_cardbus_driver);
-}
-
-
-static void __exit yenta_socket_exit(void)
-{
-	pci_unregister_driver(&yenta_cardbus_driver);
-}
-