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:
@@ -1047,7 +1047,7 @@ out:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit tegra_aes_remove(struct platform_device *pdev)
|
||||
static int tegra_aes_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct device *dev = &pdev->dev;
|
||||
struct tegra_aes_dev *dd = platform_get_drvdata(pdev);
|
||||
@@ -1074,7 +1074,7 @@ static int __devexit tegra_aes_remove(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id tegra_aes_of_match[] __devinitdata = {
|
||||
static struct of_device_id tegra_aes_of_match[] = {
|
||||
{ .compatible = "nvidia,tegra20-aes", },
|
||||
{ .compatible = "nvidia,tegra30-aes", },
|
||||
{ },
|
||||
@@ -1082,7 +1082,7 @@ static struct of_device_id tegra_aes_of_match[] __devinitdata = {
|
||||
|
||||
static struct platform_driver tegra_aes_driver = {
|
||||
.probe = tegra_aes_probe,
|
||||
.remove = __devexit_p(tegra_aes_remove),
|
||||
.remove = tegra_aes_remove,
|
||||
.driver = {
|
||||
.name = "tegra-aes",
|
||||
.owner = THIS_MODULE,
|
||||
|
Reference in New Issue
Block a user