Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348183
b: refs/heads/master
c: 49cfe4d
h: refs/heads/master
i:
  348181: 0323dcd
  348179: 002d05d
  348175: 7278aae
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 3, 2013
1 parent 05815dc commit 6279fca
Show file tree
Hide file tree
Showing 14 changed files with 55 additions and 58 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed5a84cdf593e54969518e82762786fbe1284ce4
refs/heads/master: 49cfe4db2ddc4d1b32f2bd4910a5a9d7a0e34ae8
6 changes: 3 additions & 3 deletions trunk/drivers/crypto/atmel-aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ static int atmel_aes_register_algs(struct atmel_aes_dev *dd)
return err;
}

static int __devinit atmel_aes_probe(struct platform_device *pdev)
static int atmel_aes_probe(struct platform_device *pdev)
{
struct atmel_aes_dev *aes_dd;
struct aes_platform_data *pdata;
Expand Down Expand Up @@ -1152,7 +1152,7 @@ static int __devinit atmel_aes_probe(struct platform_device *pdev)
return err;
}

static int __devexit atmel_aes_remove(struct platform_device *pdev)
static int atmel_aes_remove(struct platform_device *pdev)
{
static struct atmel_aes_dev *aes_dd;

Expand Down Expand Up @@ -1185,7 +1185,7 @@ static int __devexit atmel_aes_remove(struct platform_device *pdev)

static struct platform_driver atmel_aes_driver = {
.probe = atmel_aes_probe,
.remove = __devexit_p(atmel_aes_remove),
.remove = atmel_aes_remove,
.driver = {
.name = "atmel_aes",
.owner = THIS_MODULE,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/crypto/atmel-sha.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ static int atmel_sha_register_algs(struct atmel_sha_dev *dd)
return err;
}

static int __devinit atmel_sha_probe(struct platform_device *pdev)
static int atmel_sha_probe(struct platform_device *pdev)
{
struct atmel_sha_dev *sha_dd;
struct device *dev = &pdev->dev;
Expand Down Expand Up @@ -1063,7 +1063,7 @@ static int __devinit atmel_sha_probe(struct platform_device *pdev)
return err;
}

static int __devexit atmel_sha_remove(struct platform_device *pdev)
static int atmel_sha_remove(struct platform_device *pdev)
{
static struct atmel_sha_dev *sha_dd;

Expand Down Expand Up @@ -1093,7 +1093,7 @@ static int __devexit atmel_sha_remove(struct platform_device *pdev)

static struct platform_driver atmel_sha_driver = {
.probe = atmel_sha_probe,
.remove = __devexit_p(atmel_sha_remove),
.remove = atmel_sha_remove,
.driver = {
.name = "atmel_sha",
.owner = THIS_MODULE,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/crypto/atmel-tdes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ static int atmel_tdes_register_algs(struct atmel_tdes_dev *dd)
return err;
}

static int __devinit atmel_tdes_probe(struct platform_device *pdev)
static int atmel_tdes_probe(struct platform_device *pdev)
{
struct atmel_tdes_dev *tdes_dd;
struct device *dev = &pdev->dev;
Expand Down Expand Up @@ -1162,7 +1162,7 @@ static int __devinit atmel_tdes_probe(struct platform_device *pdev)
return err;
}

static int __devexit atmel_tdes_remove(struct platform_device *pdev)
static int atmel_tdes_remove(struct platform_device *pdev)
{
static struct atmel_tdes_dev *tdes_dd;

Expand Down Expand Up @@ -1195,7 +1195,7 @@ static int __devexit atmel_tdes_remove(struct platform_device *pdev)

static struct platform_driver atmel_tdes_driver = {
.probe = atmel_tdes_probe,
.remove = __devexit_p(atmel_tdes_remove),
.remove = atmel_tdes_remove,
.driver = {
.name = "atmel_tdes",
.owner = THIS_MODULE,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/crypto/bfin_crc.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ static int bfin_crypto_crc_suspend(struct platform_device *pdev, pm_message_t st
* bfin_crypto_crc_probe - Initialize module
*
*/
static int __devinit bfin_crypto_crc_probe(struct platform_device *pdev)
static int bfin_crypto_crc_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct resource *res;
Expand Down Expand Up @@ -707,7 +707,7 @@ static int __devinit bfin_crypto_crc_probe(struct platform_device *pdev)
* bfin_crypto_crc_remove - Initialize module
*
*/
static int __devexit bfin_crypto_crc_remove(struct platform_device *pdev)
static int bfin_crypto_crc_remove(struct platform_device *pdev)
{
struct bfin_crypto_crc *crc = platform_get_drvdata(pdev);

Expand All @@ -731,7 +731,7 @@ static int __devexit bfin_crypto_crc_remove(struct platform_device *pdev)

static struct platform_driver bfin_crypto_crc_driver = {
.probe = bfin_crypto_crc_probe,
.remove = __devexit_p(bfin_crypto_crc_remove),
.remove = bfin_crypto_crc_remove,
.suspend = bfin_crypto_crc_suspend,
.resume = bfin_crypto_crc_resume,
.driver = {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/crypto/caam/ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ static struct platform_driver caam_driver = {
.of_match_table = caam_match,
},
.probe = caam_probe,
.remove = __devexit_p(caam_remove),
.remove = caam_remove,
};

module_platform_driver(caam_driver);
Expand Down
8 changes: 3 additions & 5 deletions trunk/drivers/crypto/geode-aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,7 @@ static struct crypto_alg geode_ecb_alg = {
}
};

static void __devexit
geode_aes_remove(struct pci_dev *dev)
static void geode_aes_remove(struct pci_dev *dev)
{
crypto_unregister_alg(&geode_alg);
crypto_unregister_alg(&geode_ecb_alg);
Expand All @@ -513,8 +512,7 @@ geode_aes_remove(struct pci_dev *dev)
}


static int __devinit
geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id)
static int geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id)
{
int ret;
ret = pci_enable_device(dev);
Expand Down Expand Up @@ -582,7 +580,7 @@ static struct pci_driver geode_aes_driver = {
.name = "Geode LX AES",
.id_table = geode_aes_tbl,
.probe = geode_aes_probe,
.remove = __devexit_p(geode_aes_remove)
.remove = geode_aes_remove,
};

module_pci_driver(geode_aes_driver);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/crypto/hifn_795x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2561,7 +2561,7 @@ static void hifn_tasklet_callback(unsigned long data)
hifn_process_queue(dev);
}

static int __devinit hifn_probe(struct pci_dev *pdev, const struct pci_device_id *id)
static int hifn_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{
int err, i;
struct hifn_device *dev;
Expand Down Expand Up @@ -2696,7 +2696,7 @@ static int __devinit hifn_probe(struct pci_dev *pdev, const struct pci_device_id
return err;
}

static void __devexit hifn_remove(struct pci_dev *pdev)
static void hifn_remove(struct pci_dev *pdev)
{
int i;
struct hifn_device *dev;
Expand Down Expand Up @@ -2740,7 +2740,7 @@ static struct pci_driver hifn_pci_driver = {
.name = "hifn795x",
.id_table = hifn_pci_tbl,
.probe = hifn_probe,
.remove = __devexit_p(hifn_remove),
.remove = hifn_remove,
};

static int __init hifn_init(void)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/crypto/mv_cesa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ MODULE_DEVICE_TABLE(of, mv_cesa_of_match_table);

static struct platform_driver marvell_crypto = {
.probe = mv_probe,
.remove = __devexit_p(mv_remove),
.remove = mv_remove,
.driver = {
.owner = THIS_MODULE,
.name = "mv_crypto",
Expand Down
46 changes: 23 additions & 23 deletions trunk/drivers/crypto/n2_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#define DRV_MODULE_VERSION "0.2"
#define DRV_MODULE_RELDATE "July 28, 2011"

static char version[] __devinitdata =
static char version[] =
DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";

MODULE_AUTHOR("David S. Miller (davem@davemloft.net)");
Expand Down Expand Up @@ -1388,7 +1388,7 @@ static int n2_cipher_cra_init(struct crypto_tfm *tfm)
return 0;
}

static int __devinit __n2_register_one_cipher(const struct n2_cipher_tmpl *tmpl)
static int __n2_register_one_cipher(const struct n2_cipher_tmpl *tmpl)
{
struct n2_cipher_alg *p = kzalloc(sizeof(*p), GFP_KERNEL);
struct crypto_alg *alg;
Expand Down Expand Up @@ -1424,7 +1424,7 @@ static int __devinit __n2_register_one_cipher(const struct n2_cipher_tmpl *tmpl)
return err;
}

static int __devinit __n2_register_one_hmac(struct n2_ahash_alg *n2ahash)
static int __n2_register_one_hmac(struct n2_ahash_alg *n2ahash)
{
struct n2_hmac_alg *p = kzalloc(sizeof(*p), GFP_KERNEL);
struct ahash_alg *ahash;
Expand Down Expand Up @@ -1462,7 +1462,7 @@ static int __devinit __n2_register_one_hmac(struct n2_ahash_alg *n2ahash)
return err;
}

static int __devinit __n2_register_one_ahash(const struct n2_hash_tmpl *tmpl)
static int __n2_register_one_ahash(const struct n2_hash_tmpl *tmpl)
{
struct n2_ahash_alg *p = kzalloc(sizeof(*p), GFP_KERNEL);
struct hash_alg_common *halg;
Expand Down Expand Up @@ -1517,7 +1517,7 @@ static int __devinit __n2_register_one_ahash(const struct n2_hash_tmpl *tmpl)
return err;
}

static int __devinit n2_register_algs(void)
static int n2_register_algs(void)
{
int i, err = 0;

Expand Down Expand Up @@ -1545,7 +1545,7 @@ static int __devinit n2_register_algs(void)
return err;
}

static void __devexit n2_unregister_algs(void)
static void n2_unregister_algs(void)
{
mutex_lock(&spu_lock);
if (!--algs_registered)
Expand Down Expand Up @@ -1822,8 +1822,8 @@ static int spu_mdesc_scan(struct mdesc_handle *mdesc, struct platform_device *de
return err;
}

static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node,
struct spu_mdesc_info *ip)
static int get_irq_props(struct mdesc_handle *mdesc, u64 node,
struct spu_mdesc_info *ip)
{
const u64 *ino;
int ino_len;
Expand Down Expand Up @@ -1851,10 +1851,10 @@ static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node,
return 0;
}

static int __devinit grab_mdesc_irq_props(struct mdesc_handle *mdesc,
struct platform_device *dev,
struct spu_mdesc_info *ip,
const char *node_name)
static int grab_mdesc_irq_props(struct mdesc_handle *mdesc,
struct platform_device *dev,
struct spu_mdesc_info *ip,
const char *node_name)
{
const unsigned int *reg;
u64 node;
Expand Down Expand Up @@ -1883,7 +1883,7 @@ static int __devinit grab_mdesc_irq_props(struct mdesc_handle *mdesc,
static unsigned long n2_spu_hvapi_major;
static unsigned long n2_spu_hvapi_minor;

static int __devinit n2_spu_hvapi_register(void)
static int n2_spu_hvapi_register(void)
{
int err;

Expand All @@ -1909,7 +1909,7 @@ static void n2_spu_hvapi_unregister(void)

static int global_ref;

static int __devinit grab_global_resources(void)
static int grab_global_resources(void)
{
int err = 0;

Expand Down Expand Up @@ -1973,7 +1973,7 @@ static void release_global_resources(void)
mutex_unlock(&spu_lock);
}

static struct n2_crypto * __devinit alloc_n2cp(void)
static struct n2_crypto *alloc_n2cp(void)
{
struct n2_crypto *np = kzalloc(sizeof(struct n2_crypto), GFP_KERNEL);

Expand All @@ -1993,15 +1993,15 @@ static void free_n2cp(struct n2_crypto *np)
kfree(np);
}

static void __devinit n2_spu_driver_version(void)
static void n2_spu_driver_version(void)
{
static int n2_spu_version_printed;

if (n2_spu_version_printed++ == 0)
pr_info("%s", version);
}

static int __devinit n2_crypto_probe(struct platform_device *dev)
static int n2_crypto_probe(struct platform_device *dev)
{
struct mdesc_handle *mdesc;
const char *full_name;
Expand Down Expand Up @@ -2077,7 +2077,7 @@ static int __devinit n2_crypto_probe(struct platform_device *dev)
return err;
}

static int __devexit n2_crypto_remove(struct platform_device *dev)
static int n2_crypto_remove(struct platform_device *dev)
{
struct n2_crypto *np = dev_get_drvdata(&dev->dev);

Expand All @@ -2092,7 +2092,7 @@ static int __devexit n2_crypto_remove(struct platform_device *dev)
return 0;
}

static struct n2_mau * __devinit alloc_ncp(void)
static struct n2_mau *alloc_ncp(void)
{
struct n2_mau *mp = kzalloc(sizeof(struct n2_mau), GFP_KERNEL);

Expand All @@ -2112,7 +2112,7 @@ static void free_ncp(struct n2_mau *mp)
kfree(mp);
}

static int __devinit n2_mau_probe(struct platform_device *dev)
static int n2_mau_probe(struct platform_device *dev)
{
struct mdesc_handle *mdesc;
const char *full_name;
Expand Down Expand Up @@ -2179,7 +2179,7 @@ static int __devinit n2_mau_probe(struct platform_device *dev)
return err;
}

static int __devexit n2_mau_remove(struct platform_device *dev)
static int n2_mau_remove(struct platform_device *dev)
{
struct n2_mau *mp = dev_get_drvdata(&dev->dev);

Expand Down Expand Up @@ -2217,7 +2217,7 @@ static struct platform_driver n2_crypto_driver = {
.of_match_table = n2_crypto_match,
},
.probe = n2_crypto_probe,
.remove = __devexit_p(n2_crypto_remove),
.remove = n2_crypto_remove,
};

static struct of_device_id n2_mau_match[] = {
Expand Down Expand Up @@ -2245,7 +2245,7 @@ static struct platform_driver n2_mau_driver = {
.of_match_table = n2_mau_match,
},
.probe = n2_mau_probe,
.remove = __devexit_p(n2_mau_remove),
.remove = n2_mau_remove,
};

static int __init n2_init(void)
Expand Down
7 changes: 3 additions & 4 deletions trunk/drivers/crypto/nx/nx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down Expand Up @@ -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" },
{ "", "" }
};
Expand Down
Loading

0 comments on commit 6279fca

Please sign in to comment.