Skip to contentSkip to conversation

drivers-pps-clients-pps-gpioc-convert-to-module_platform_driver.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013 PPS support

lore
Share & tools
lore
#0 lore raw

Subject: [merged] drivers-pps-clients-pps-gpioc-convert-to-module_platform_driver.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:37:08 -0700

The patch titled
Subject: drivers/pps/clients/pps-gpio.c: convert to module_platform_driver
has been removed from the -mm tree. Its filename was
drivers-pps-clients-pps-gpioc-convert-to-module_platform_driver.patch

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

------------------------------------------------------
From: Jan Luebbe <[email protected]>
Subject: drivers/pps/clients/pps-gpio.c: convert to module_platform_driver

This removes some boilerplate code (no functional changes).

---

 drivers/pps/clients/pps-gpio.c |   18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)
drivers/pps/clients/pps-gpio.c renamed from drivers/pps/clients/pps-gpio.c~drivers-pps-clients-pps-gpioc-convert-to-module_platform_driver +0 -16
diff -puN drivers/pps/clients/pps-gpio.c~drivers-pps-clients-pps-gpioc-convert-to-module_platform_driver drivers/pps/clients/pps-gpio.c
@@ -187,23 +187,7 @@ static struct platform_driver pps_gpio_d
 	},
 };
 
-static int __init pps_gpio_init(void)
-{
-	int ret = platform_driver_register(&pps_gpio_driver);
-	if (ret < 0)
-		pr_err("failed to register platform driver\n");
-	return ret;
-}
-
-static void __exit pps_gpio_exit(void)
-{
-	platform_driver_unregister(&pps_gpio_driver);
-	pr_debug("unregistered platform driver\n");
-}
-
-module_init(pps_gpio_init);
-module_exit(pps_gpio_exit);