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/nx/nx.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/nx/nx.c')
-rw-r--r-- | drivers/crypto/nx/nx.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/crypto/nx/nx.c b/drivers/crypto/nx/nx.c index f7a8a16aa7d3..c767f232e693 100644 --- a/drivers/crypto/nx/nx.c +++ b/drivers/crypto/nx/nx.c | |||
@@ -634,8 +634,7 @@ void nx_crypto_ctx_exit(struct crypto_tfm *tfm) | |||
634 | nx_ctx->out_sg = NULL; | 634 | nx_ctx->out_sg = NULL; |
635 | } | 635 | } |
636 | 636 | ||
637 | static int __devinit nx_probe(struct vio_dev *viodev, | 637 | static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) |
638 | const struct vio_device_id *id) | ||
639 | { | 638 | { |
640 | dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", | 639 | dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", |
641 | viodev->name, viodev->resource_id); | 640 | viodev->name, viodev->resource_id); |
@@ -653,7 +652,7 @@ static int __devinit nx_probe(struct vio_dev *viodev, | |||
653 | return nx_register_algs(); | 652 | return nx_register_algs(); |
654 | } | 653 | } |
655 | 654 | ||
656 | static int __devexit nx_remove(struct vio_dev *viodev) | 655 | static int nx_remove(struct vio_dev *viodev) |
657 | { | 656 | { |
658 | dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n", | 657 | dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n", |
659 | viodev->unit_address); | 658 | viodev->unit_address); |
@@ -689,7 +688,7 @@ static void __exit nx_fini(void) | |||
689 | vio_unregister_driver(&nx_driver.viodriver); | 688 | vio_unregister_driver(&nx_driver.viodriver); |
690 | } | 689 | } |
691 | 690 | ||
692 | static struct vio_device_id nx_crypto_driver_ids[] __devinitdata = { | 691 | static struct vio_device_id nx_crypto_driver_ids[] = { |
693 | { "ibm,sym-encryption-v1", "ibm,sym-encryption" }, | 692 | { "ibm,sym-encryption-v1", "ibm,sym-encryption" }, |
694 | { "", "" } | 693 | { "", "" } |
695 | }; | 694 | }; |