diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-11 01:01:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-11 01:01:27 -0500 |
commit | 4f58cb90bcb04cfe18f524d1c9a65edef5eb3f51 (patch) | |
tree | 8c686e8b736eed7258921909282c0955543c7d2f /drivers/char/hw_random | |
parent | e7691a1ce341c80ed9504244a36b31c025217391 (diff) | |
parent | 08c70fc3a239475122e20b7a21dfae4c264c24f7 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (54 commits)
crypto: gf128mul - remove leftover "(EXPERIMENTAL)" in Kconfig
crypto: serpent-sse2 - remove unneeded LRW/XTS #ifdefs
crypto: serpent-sse2 - select LRW and XTS
crypto: twofish-x86_64-3way - remove unneeded LRW/XTS #ifdefs
crypto: twofish-x86_64-3way - select LRW and XTS
crypto: xts - remove dependency on EXPERIMENTAL
crypto: lrw - remove dependency on EXPERIMENTAL
crypto: picoxcell - fix boolean and / or confusion
crypto: caam - remove DECO access initialization code
crypto: caam - fix polarity of "propagate error" logic
crypto: caam - more desc.h cleanups
crypto: caam - desc.h - convert spaces to tabs
crypto: talitos - convert talitos_error to struct device
crypto: talitos - remove NO_IRQ references
crypto: talitos - fix bad kfree
crypto: convert drivers/crypto/* to use module_platform_driver()
char: hw_random: convert drivers/char/hw_random/* to use module_platform_driver()
crypto: serpent-sse2 - should select CRYPTO_CRYPTD
crypto: serpent - rename serpent.c to serpent_generic.c
crypto: serpent - cleanup checkpatch errors and warnings
...
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r-- | drivers/char/hw_random/atmel-rng.c | 12 | ||||
-rw-r--r-- | drivers/char/hw_random/n2-drv.c | 13 | ||||
-rw-r--r-- | drivers/char/hw_random/octeon-rng.c | 13 | ||||
-rw-r--r-- | drivers/char/hw_random/pasemi-rng.c | 12 | ||||
-rw-r--r-- | drivers/char/hw_random/picoxcell-rng.c | 12 | ||||
-rw-r--r-- | drivers/char/hw_random/ppc4xx-rng.c | 12 | ||||
-rw-r--r-- | drivers/char/hw_random/timeriomem-rng.c | 13 |
7 files changed, 7 insertions, 80 deletions
diff --git a/drivers/char/hw_random/atmel-rng.c b/drivers/char/hw_random/atmel-rng.c index 241df2e76aba..f518b99f53f5 100644 --- a/drivers/char/hw_random/atmel-rng.c +++ b/drivers/char/hw_random/atmel-rng.c | |||
@@ -141,17 +141,7 @@ static struct platform_driver atmel_trng_driver = { | |||
141 | }, | 141 | }, |
142 | }; | 142 | }; |
143 | 143 | ||
144 | static int __init atmel_trng_init(void) | 144 | module_platform_driver(atmel_trng_driver); |
145 | { | ||
146 | return platform_driver_register(&atmel_trng_driver); | ||
147 | } | ||
148 | module_init(atmel_trng_init); | ||
149 | |||
150 | static void __exit atmel_trng_exit(void) | ||
151 | { | ||
152 | platform_driver_unregister(&atmel_trng_driver); | ||
153 | } | ||
154 | module_exit(atmel_trng_exit); | ||
155 | 145 | ||
156 | MODULE_LICENSE("GPL"); | 146 | MODULE_LICENSE("GPL"); |
157 | MODULE_AUTHOR("Peter Korsgaard <jacmet@sunsite.dk>"); | 147 | MODULE_AUTHOR("Peter Korsgaard <jacmet@sunsite.dk>"); |
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index c3de70de00d4..ebd48f0135da 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c | |||
@@ -770,15 +770,4 @@ static struct platform_driver n2rng_driver = { | |||
770 | .remove = __devexit_p(n2rng_remove), | 770 | .remove = __devexit_p(n2rng_remove), |
771 | }; | 771 | }; |
772 | 772 | ||
773 | static int __init n2rng_init(void) | 773 | module_platform_driver(n2rng_driver); |
774 | { | ||
775 | return platform_driver_register(&n2rng_driver); | ||
776 | } | ||
777 | |||
778 | static void __exit n2rng_exit(void) | ||
779 | { | ||
780 | platform_driver_unregister(&n2rng_driver); | ||
781 | } | ||
782 | |||
783 | module_init(n2rng_init); | ||
784 | module_exit(n2rng_exit); | ||
diff --git a/drivers/char/hw_random/octeon-rng.c b/drivers/char/hw_random/octeon-rng.c index 9cd0feca318c..0943edc782a1 100644 --- a/drivers/char/hw_random/octeon-rng.c +++ b/drivers/char/hw_random/octeon-rng.c | |||
@@ -131,18 +131,7 @@ static struct platform_driver octeon_rng_driver = { | |||
131 | .remove = __exit_p(octeon_rng_remove), | 131 | .remove = __exit_p(octeon_rng_remove), |
132 | }; | 132 | }; |
133 | 133 | ||
134 | static int __init octeon_rng_mod_init(void) | 134 | module_platform_driver(octeon_rng_driver); |
135 | { | ||
136 | return platform_driver_register(&octeon_rng_driver); | ||
137 | } | ||
138 | |||
139 | static void __exit octeon_rng_mod_exit(void) | ||
140 | { | ||
141 | platform_driver_unregister(&octeon_rng_driver); | ||
142 | } | ||
143 | |||
144 | module_init(octeon_rng_mod_init); | ||
145 | module_exit(octeon_rng_mod_exit); | ||
146 | 135 | ||
147 | MODULE_AUTHOR("David Daney"); | 136 | MODULE_AUTHOR("David Daney"); |
148 | MODULE_LICENSE("GPL"); | 137 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c index 1d504815e6db..3a632673aed5 100644 --- a/drivers/char/hw_random/pasemi-rng.c +++ b/drivers/char/hw_random/pasemi-rng.c | |||
@@ -148,17 +148,7 @@ static struct platform_driver rng_driver = { | |||
148 | .remove = rng_remove, | 148 | .remove = rng_remove, |
149 | }; | 149 | }; |
150 | 150 | ||
151 | static int __init rng_init(void) | 151 | module_platform_driver(rng_driver); |
152 | { | ||
153 | return platform_driver_register(&rng_driver); | ||
154 | } | ||
155 | module_init(rng_init); | ||
156 | |||
157 | static void __exit rng_exit(void) | ||
158 | { | ||
159 | platform_driver_unregister(&rng_driver); | ||
160 | } | ||
161 | module_exit(rng_exit); | ||
162 | 152 | ||
163 | MODULE_LICENSE("GPL"); | 153 | MODULE_LICENSE("GPL"); |
164 | MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>"); | 154 | MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>"); |
diff --git a/drivers/char/hw_random/picoxcell-rng.c b/drivers/char/hw_random/picoxcell-rng.c index 990d55a5e3e8..97bd891422c7 100644 --- a/drivers/char/hw_random/picoxcell-rng.c +++ b/drivers/char/hw_random/picoxcell-rng.c | |||
@@ -191,17 +191,7 @@ static struct platform_driver picoxcell_trng_driver = { | |||
191 | }, | 191 | }, |
192 | }; | 192 | }; |
193 | 193 | ||
194 | static int __init picoxcell_trng_init(void) | 194 | module_platform_driver(picoxcell_trng_driver); |
195 | { | ||
196 | return platform_driver_register(&picoxcell_trng_driver); | ||
197 | } | ||
198 | module_init(picoxcell_trng_init); | ||
199 | |||
200 | static void __exit picoxcell_trng_exit(void) | ||
201 | { | ||
202 | platform_driver_unregister(&picoxcell_trng_driver); | ||
203 | } | ||
204 | module_exit(picoxcell_trng_exit); | ||
205 | 195 | ||
206 | MODULE_LICENSE("GPL"); | 196 | MODULE_LICENSE("GPL"); |
207 | MODULE_AUTHOR("Jamie Iles"); | 197 | MODULE_AUTHOR("Jamie Iles"); |
diff --git a/drivers/char/hw_random/ppc4xx-rng.c b/drivers/char/hw_random/ppc4xx-rng.c index b8afa6a4ff67..c51762c13031 100644 --- a/drivers/char/hw_random/ppc4xx-rng.c +++ b/drivers/char/hw_random/ppc4xx-rng.c | |||
@@ -139,17 +139,7 @@ static struct platform_driver ppc4xx_rng_driver = { | |||
139 | .remove = ppc4xx_rng_remove, | 139 | .remove = ppc4xx_rng_remove, |
140 | }; | 140 | }; |
141 | 141 | ||
142 | static int __init ppc4xx_rng_init(void) | 142 | module_platform_driver(ppc4xx_rng_driver); |
143 | { | ||
144 | return platform_driver_register(&ppc4xx_rng_driver); | ||
145 | } | ||
146 | module_init(ppc4xx_rng_init); | ||
147 | |||
148 | static void __exit ppc4xx_rng_exit(void) | ||
149 | { | ||
150 | platform_driver_unregister(&ppc4xx_rng_driver); | ||
151 | } | ||
152 | module_exit(ppc4xx_rng_exit); | ||
153 | 143 | ||
154 | MODULE_LICENSE("GPL"); | 144 | MODULE_LICENSE("GPL"); |
155 | MODULE_AUTHOR("Josh Boyer <jwboyer@linux.vnet.ibm.com>"); | 145 | MODULE_AUTHOR("Josh Boyer <jwboyer@linux.vnet.ibm.com>"); |
diff --git a/drivers/char/hw_random/timeriomem-rng.c b/drivers/char/hw_random/timeriomem-rng.c index a8428e6f64a9..f1a1618db1fb 100644 --- a/drivers/char/hw_random/timeriomem-rng.c +++ b/drivers/char/hw_random/timeriomem-rng.c | |||
@@ -149,18 +149,7 @@ static struct platform_driver timeriomem_rng_driver = { | |||
149 | .remove = __devexit_p(timeriomem_rng_remove), | 149 | .remove = __devexit_p(timeriomem_rng_remove), |
150 | }; | 150 | }; |
151 | 151 | ||
152 | static int __init timeriomem_rng_init(void) | 152 | module_platform_driver(timeriomem_rng_driver); |
153 | { | ||
154 | return platform_driver_register(&timeriomem_rng_driver); | ||
155 | } | ||
156 | |||
157 | static void __exit timeriomem_rng_exit(void) | ||
158 | { | ||
159 | platform_driver_unregister(&timeriomem_rng_driver); | ||
160 | } | ||
161 | |||
162 | module_init(timeriomem_rng_init); | ||
163 | module_exit(timeriomem_rng_exit); | ||
164 | 153 | ||
165 | MODULE_LICENSE("GPL"); | 154 | MODULE_LICENSE("GPL"); |
166 | MODULE_AUTHOR("Alexander Clouter <alex@digriz.org.uk>"); | 155 | MODULE_AUTHOR("Alexander Clouter <alex@digriz.org.uk>"); |