summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-sha.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/atmel-sha.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/atmel-sha.c')
-rw-r--r--drivers/crypto/atmel-sha.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c
index bcdf55fdc623..4918e9424d31 100644
--- a/drivers/crypto/atmel-sha.c
+++ b/drivers/crypto/atmel-sha.c
@@ -964,7 +964,7 @@ err_sha_algs:
964 return err; 964 return err;
965} 965}
966 966
967static int __devinit atmel_sha_probe(struct platform_device *pdev) 967static int atmel_sha_probe(struct platform_device *pdev)
968{ 968{
969 struct atmel_sha_dev *sha_dd; 969 struct atmel_sha_dev *sha_dd;
970 struct device *dev = &pdev->dev; 970 struct device *dev = &pdev->dev;
@@ -1063,7 +1063,7 @@ sha_dd_err:
1063 return err; 1063 return err;
1064} 1064}
1065 1065
1066static int __devexit atmel_sha_remove(struct platform_device *pdev) 1066static int atmel_sha_remove(struct platform_device *pdev)
1067{ 1067{
1068 static struct atmel_sha_dev *sha_dd; 1068 static struct atmel_sha_dev *sha_dd;
1069 1069
@@ -1093,7 +1093,7 @@ static int __devexit atmel_sha_remove(struct platform_device *pdev)
1093 1093
1094static struct platform_driver atmel_sha_driver = { 1094static struct platform_driver atmel_sha_driver = {
1095 .probe = atmel_sha_probe, 1095 .probe = atmel_sha_probe,
1096 .remove = __devexit_p(atmel_sha_remove), 1096 .remove = atmel_sha_remove,
1097 .driver = { 1097 .driver = {
1098 .name = "atmel_sha", 1098 .name = "atmel_sha",
1099 .owner = THIS_MODULE, 1099 .owner = THIS_MODULE,