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>
This commit is contained in:
@@ -634,8 +634,7 @@ void nx_crypto_ctx_exit(struct crypto_tfm *tfm)
|
||||
nx_ctx->out_sg = NULL;
|
||||
}
|
||||
|
||||
static int __devinit nx_probe(struct vio_dev *viodev,
|
||||
const struct vio_device_id *id)
|
||||
static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id)
|
||||
{
|
||||
dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n",
|
||||
viodev->name, viodev->resource_id);
|
||||
@@ -653,7 +652,7 @@ static int __devinit nx_probe(struct vio_dev *viodev,
|
||||
return nx_register_algs();
|
||||
}
|
||||
|
||||
static int __devexit nx_remove(struct vio_dev *viodev)
|
||||
static int nx_remove(struct vio_dev *viodev)
|
||||
{
|
||||
dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n",
|
||||
viodev->unit_address);
|
||||
@@ -689,7 +688,7 @@ static void __exit nx_fini(void)
|
||||
vio_unregister_driver(&nx_driver.viodriver);
|
||||
}
|
||||
|
||||
static struct vio_device_id nx_crypto_driver_ids[] __devinitdata = {
|
||||
static struct vio_device_id nx_crypto_driver_ids[] = {
|
||||
{ "ibm,sym-encryption-v1", "ibm,sym-encryption" },
|
||||
{ "", "" }
|
||||
};
|
||||
|
Reference in New Issue
Block a user