From: akpm@linux-foundation.org Subject: + drivers-ptp-ptp_pch-convert-to-module_pci_driver.patch added to -mm tree Date: Mon, 03 Jun 2013 15:01:18 -0700 Message-ID: <51ad122e.YVD0I9B9iwKX3+Q9%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:40663 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758763Ab3FCWBY (ORCPT ); Mon, 3 Jun 2013 18:01:24 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, richardcochran@gmail.com, libo.chen@huawei.com, clbchenlibo.chen@huawei.com Subject: + drivers-ptp-ptp_pch-convert-to-module_pci_driver.patch added to -mm tree To: clbchenlibo.chen@huawei.com,libo.chen@huawei.com,richardcochran@gmail.com From: akpm@linux-foundation.org Date: Mon, 03 Jun 2013 15:01:18 -0700 The patch titled Subject: drivers/ptp/ptp_pch.c: convert to module_pci_driver has been added to the -mm tree. Its filename is drivers-ptp-ptp_pch-convert-to-module_pci_driver.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Libo Chen Subject: drivers/ptp/ptp_pch.c: convert to module_pci_driver Signed-off-by: Libo Chen Cc: Richard Cochran Signed-off-by: Andrew Morton --- drivers/ptp/ptp_pch.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff -puN drivers/ptp/ptp_pch.c~drivers-ptp-ptp_pch-convert-to-module_pci_driver drivers/ptp/ptp_pch.c --- a/drivers/ptp/ptp_pch.c~drivers-ptp-ptp_pch-convert-to-module_pci_driver +++ a/drivers/ptp/ptp_pch.c @@ -707,23 +707,7 @@ static struct pci_driver pch_driver = { .resume = pch_resume, }; -static void __exit ptp_pch_exit(void) -{ - pci_unregister_driver(&pch_driver); -} - -static s32 __init ptp_pch_init(void) -{ - s32 ret; - - /* register the driver with the pci core */ - ret = pci_register_driver(&pch_driver); - - return ret; -} - -module_init(ptp_pch_init); -module_exit(ptp_pch_exit); +module_pci_driver(pch_driver); module_param_string(station, pch_param.station, sizeof(pch_param.station), 0444); _ Patches currently in -mm which might be from clbchenlibo.chen@huawei.com are drivers-iommu-msm_iommu_devc-fix-leak-and-clean-up-error-paths.patch drivers-iommu-msm_iommu_devc-fix-leak-and-clean-up-error-paths-fix.patch drivers-cdrom-gdromc-fix-device-number-leak.patch drivers-scsi-a100u2w-convert-to-module_pci_driver.patch drivers-scsi-dc395x-convert-to-module_pci_driver.patch drivers-scsi-dmx3191d-convert-to-module_pci_driver.patch drivers-scsi-initio-convert-to-module_pci_driver.patch drivers-scsi-mvumi-convert-to-module_pci_driver.patch drivers-net-irda-donauboe-convert-to-module_pci_driver.patch drivers-ide-delkin_cb-convert-to-module_pci_driver.patch drivers-atm-he-convert-to-module_pci_driver.patch drivers-mfd-lpc_ich-convert-to-module_pci_driver.patch drivers-ptp-ptp_pch-convert-to-module_pci_driver.patch drivers-memstick-host-r592-convert-to-module_pci_driver.patch drivers-platform-x86-intel_ips-convert-to-module_pci_driver.patch drivers-media-pci-mantis-mantis_cards-convert-to-module_pci_driver.patch drivers-media-pci-dm1105-dm1105-convert-to-module_pci_driver.patch drivers-media-pci-mantis-hopper_cards-convert-to-module_pci_driver.patch drivers-media-pci-pluto2-pluto2-convert-to-module_pci_driver.patch drivers-media-pci-pt1-pt1-convert-to-module_pci_driver.patch