lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 30 Jan 2013 12:27:09 +0100
From:	Thierry Reding <thierry.reding@...onic-design.de>
To:	Linus Walleij <linus.walleij@...aro.org>
Cc:	Patrice Chotard <patrice.chotard@...com>,
	linux-kernel@...r.kernel.org
Subject: [PATCH] pinctrl: Remove newly introduced __dev* annotations

__devinit, __devexit and __devexit_p have been removed and should no
longer be used.

Signed-off-by: Thierry Reding <thierry.reding@...onic-design.de>
---
 drivers/pinctrl/pinctrl-ab8500.c | 2 +-
 drivers/pinctrl/pinctrl-abx500.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-ab8500.c b/drivers/pinctrl/pinctrl-ab8500.c
index 6495390..bb931e7 100644
--- a/drivers/pinctrl/pinctrl-ab8500.c
+++ b/drivers/pinctrl/pinctrl-ab8500.c
@@ -478,7 +478,7 @@ static struct abx500_pinctrl_soc_data ab8500_soc = {
 	.irq_gpio_factor = 1,
 };
 
-void __devinit
+void
 abx500_pinctrl_ab8500_init(struct abx500_pinctrl_soc_data **soc)
 {
 	*soc = &ab8500_soc;
diff --git a/drivers/pinctrl/pinctrl-abx500.c b/drivers/pinctrl/pinctrl-abx500.c
index 13ae68f..214d659 100644
--- a/drivers/pinctrl/pinctrl-abx500.c
+++ b/drivers/pinctrl/pinctrl-abx500.c
@@ -1080,7 +1080,7 @@ static int abx500_get_gpio_num(struct abx500_pinctrl_soc_data *soc)
 	return npins;
 }
 
-static int __devinit abx500_gpio_probe(struct platform_device *pdev)
+static int abx500_gpio_probe(struct platform_device *pdev)
 {
 	struct ab8500_platform_data *abx500_pdata =
 				dev_get_platdata(pdev->dev.parent);
@@ -1189,7 +1189,7 @@ out_free:
  * abx500_gpio_remove() - remove Ab8500-gpio driver
  * @pdev :	Platform device registered
  */
-static int __devexit abx500_gpio_remove(struct platform_device *pdev)
+static int abx500_gpio_remove(struct platform_device *pdev)
 {
 	struct abx500_pinctrl *pct = platform_get_drvdata(pdev);
 	int ret;
@@ -1220,7 +1220,7 @@ static struct platform_driver abx500_gpio_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = abx500_gpio_probe,
-	.remove = __devexit_p(abx500_gpio_remove),
+	.remove = abx500_gpio_remove,
 	.id_table = abx500_pinctrl_id,
 };
 
-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ