aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/tegra-aes.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:14:09 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:02 -0500
commit49cfe4db2ddc4d1b32f2bd4910a5a9d7a0e34ae8 (patch)
tree995b18a652e4f0853c66db254a62aea854b4a1ac /drivers/crypto/tegra-aes.c
parented5a84cdf593e54969518e82762786fbe1284ce4 (diff)
Drivers: crypto: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: Kent Yoder <key@linux.vnet.ibm.com> Cc: Jamie Iles <jamie@jamieiles.com> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com> Cc: Alex Porosanu <alexandru.porosanu@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto/tegra-aes.c')
-rw-r--r--drivers/crypto/tegra-aes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/tegra-aes.c b/drivers/crypto/tegra-aes.c
index eb32fd8cad14..85ea7525fa36 100644
--- a/drivers/crypto/tegra-aes.c
+++ b/drivers/crypto/tegra-aes.c
@@ -1047,7 +1047,7 @@ out:
1047 return err; 1047 return err;
1048} 1048}
1049 1049
1050static int __devexit tegra_aes_remove(struct platform_device *pdev) 1050static int tegra_aes_remove(struct platform_device *pdev)
1051{ 1051{
1052 struct device *dev = &pdev->dev; 1052 struct device *dev = &pdev->dev;
1053 struct tegra_aes_dev *dd = platform_get_drvdata(pdev); 1053 struct tegra_aes_dev *dd = platform_get_drvdata(pdev);
@@ -1074,7 +1074,7 @@ static int __devexit tegra_aes_remove(struct platform_device *pdev)
1074 return 0; 1074 return 0;
1075} 1075}
1076 1076
1077static struct of_device_id tegra_aes_of_match[] __devinitdata = { 1077static struct of_device_id tegra_aes_of_match[] = {
1078 { .compatible = "nvidia,tegra20-aes", }, 1078 { .compatible = "nvidia,tegra20-aes", },
1079 { .compatible = "nvidia,tegra30-aes", }, 1079 { .compatible = "nvidia,tegra30-aes", },
1080 { }, 1080 { },
@@ -1082,7 +1082,7 @@ static struct of_device_id tegra_aes_of_match[] __devinitdata = {
1082 1082
1083static struct platform_driver tegra_aes_driver = { 1083static struct platform_driver tegra_aes_driver = {
1084 .probe = tegra_aes_probe, 1084 .probe = tegra_aes_probe,
1085 .remove = __devexit_p(tegra_aes_remove), 1085 .remove = tegra_aes_remove,
1086 .driver = { 1086 .driver = {
1087 .name = "tegra-aes", 1087 .name = "tegra-aes",
1088 .owner = THIS_MODULE, 1088 .owner = THIS_MODULE,