summaryrefslogtreecommitdiff
path: root/drivers/net/ieee802154/fakehard.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 14:24:12 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 19:16:56 (GMT)
commitbb1f4606754c45bbb467c15aa5fec84228f73e47 (patch)
tree7b965200cb3eb3eab0fbcd588b7564d391e4f26f /drivers/net/ieee802154/fakehard.c
parent6e9454913e9b0e7b02377ee102348dd8e9681f44 (diff)
downloadlinux-bb1f4606754c45bbb467c15aa5fec84228f73e47.tar.xz
ieee802154: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ieee802154/fakehard.c')
-rw-r--r--drivers/net/ieee802154/fakehard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ieee802154/fakehard.c b/drivers/net/ieee802154/fakehard.c
index 7d39add..1e9cb0b 100644
--- a/drivers/net/ieee802154/fakehard.c
+++ b/drivers/net/ieee802154/fakehard.c
@@ -354,7 +354,7 @@ static void ieee802154_fake_setup(struct net_device *dev)
}
-static int __devinit ieee802154fake_probe(struct platform_device *pdev)
+static int ieee802154fake_probe(struct platform_device *pdev)
{
struct net_device *dev;
struct fakehard_priv *priv;
@@ -412,7 +412,7 @@ out:
return err;
}
-static int __devexit ieee802154fake_remove(struct platform_device *pdev)
+static int ieee802154fake_remove(struct platform_device *pdev)
{
struct net_device *dev = platform_get_drvdata(pdev);
unregister_netdev(dev);
@@ -423,7 +423,7 @@ static struct platform_device *ieee802154fake_dev;
static struct platform_driver ieee802154fake_driver = {
.probe = ieee802154fake_probe,
- .remove = __devexit_p(ieee802154fake_remove),
+ .remove = ieee802154fake_remove,
.driver = {
.name = "ieee802154hardmac",
.owner = THIS_MODULE,