diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:14:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:02 -0500 |
commit | 49cfe4db2ddc4d1b32f2bd4910a5a9d7a0e34ae8 (patch) | |
tree | 995b18a652e4f0853c66db254a62aea854b4a1ac /drivers/crypto/atmel-aes.c | |
parent | ed5a84cdf593e54969518e82762786fbe1284ce4 (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-aes.c')
-rw-r--r-- | drivers/crypto/atmel-aes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index 8061336e07e7..c9d9d5c16f94 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c | |||
@@ -1036,7 +1036,7 @@ err_aes_algs: | |||
1036 | return err; | 1036 | return err; |
1037 | } | 1037 | } |
1038 | 1038 | ||
1039 | static int __devinit atmel_aes_probe(struct platform_device *pdev) | 1039 | static int atmel_aes_probe(struct platform_device *pdev) |
1040 | { | 1040 | { |
1041 | struct atmel_aes_dev *aes_dd; | 1041 | struct atmel_aes_dev *aes_dd; |
1042 | struct aes_platform_data *pdata; | 1042 | struct aes_platform_data *pdata; |
@@ -1152,7 +1152,7 @@ aes_dd_err: | |||
1152 | return err; | 1152 | return err; |
1153 | } | 1153 | } |
1154 | 1154 | ||
1155 | static int __devexit atmel_aes_remove(struct platform_device *pdev) | 1155 | static int atmel_aes_remove(struct platform_device *pdev) |
1156 | { | 1156 | { |
1157 | static struct atmel_aes_dev *aes_dd; | 1157 | static struct atmel_aes_dev *aes_dd; |
1158 | 1158 | ||
@@ -1185,7 +1185,7 @@ static int __devexit atmel_aes_remove(struct platform_device *pdev) | |||
1185 | 1185 | ||
1186 | static struct platform_driver atmel_aes_driver = { | 1186 | static struct platform_driver atmel_aes_driver = { |
1187 | .probe = atmel_aes_probe, | 1187 | .probe = atmel_aes_probe, |
1188 | .remove = __devexit_p(atmel_aes_remove), | 1188 | .remove = atmel_aes_remove, |
1189 | .driver = { | 1189 | .driver = { |
1190 | .name = "atmel_aes", | 1190 | .name = "atmel_aes", |
1191 | .owner = THIS_MODULE, | 1191 | .owner = THIS_MODULE, |