* [merged] drivers-memstick-host-jmb38x_ms-convert-to-module_pci_driver.patch removed from -mm tree
@ 2013-07-08 19:37 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2013-07-08 19:37 UTC (permalink / raw)
To: mm-commits, libo.chen
Subject: [merged] drivers-memstick-host-jmb38x_ms-convert-to-module_pci_driver.patch removed from -mm tree
To: libo.chen@huawei.com,mm-commits@vger.kernel.org
From: akpm@linux-foundation.org
Date: Mon, 08 Jul 2013 12:37:12 -0700
The patch titled
Subject: drivers/memstick/host/jmb38x_ms: convert to module_pci_driver
has been removed from the -mm tree. Its filename was
drivers-memstick-host-jmb38x_ms-convert-to-module_pci_driver.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Libo Chen <libo.chen@huawei.com>
Subject: drivers/memstick/host/jmb38x_ms: convert to module_pci_driver
Use module_pci_driver instead of init/exit, make code clean.
Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/memstick/host/jmb38x_ms.c | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff -puN drivers/memstick/host/jmb38x_ms.c~drivers-memstick-host-jmb38x_ms-convert-to-module_pci_driver drivers/memstick/host/jmb38x_ms.c
--- a/drivers/memstick/host/jmb38x_ms.c~drivers-memstick-host-jmb38x_ms-convert-to-module_pci_driver
+++ a/drivers/memstick/host/jmb38x_ms.c
@@ -1046,20 +1046,9 @@ static struct pci_driver jmb38x_ms_drive
.resume = jmb38x_ms_resume
};
-static int __init jmb38x_ms_init(void)
-{
- return pci_register_driver(&jmb38x_ms_driver);
-}
-
-static void __exit jmb38x_ms_exit(void)
-{
- pci_unregister_driver(&jmb38x_ms_driver);
-}
+module_pci_driver(jmb38x_ms_driver);
MODULE_AUTHOR("Alex Dubov");
MODULE_DESCRIPTION("JMicron jmb38x MemoryStick driver");
MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE(pci, jmb38x_ms_id_tbl);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-08 19:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 19:37 [merged] drivers-memstick-host-jmb38x_ms-convert-to-module_pci_driver.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.