net/sun: 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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
f48a3c2af8
commit
f73d12bd29
@@ -744,7 +744,7 @@ static void qec_init_once(struct sunqec *qecp, struct platform_device *op)
|
||||
qecp->gregs + GLOB_RSIZE);
|
||||
}
|
||||
|
||||
static u8 __devinit qec_get_burst(struct device_node *dp)
|
||||
static u8 qec_get_burst(struct device_node *dp)
|
||||
{
|
||||
u8 bsizes, bsizes_more;
|
||||
|
||||
@@ -764,7 +764,7 @@ static u8 __devinit qec_get_burst(struct device_node *dp)
|
||||
return bsizes;
|
||||
}
|
||||
|
||||
static struct sunqec * __devinit get_qec(struct platform_device *child)
|
||||
static struct sunqec *get_qec(struct platform_device *child)
|
||||
{
|
||||
struct platform_device *op = to_platform_device(child->dev.parent);
|
||||
struct sunqec *qecp;
|
||||
@@ -830,7 +830,7 @@ static const struct net_device_ops qec_ops = {
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
};
|
||||
|
||||
static int __devinit qec_ether_init(struct platform_device *op)
|
||||
static int qec_ether_init(struct platform_device *op)
|
||||
{
|
||||
static unsigned version_printed;
|
||||
struct net_device *dev;
|
||||
@@ -929,12 +929,12 @@ fail:
|
||||
return res;
|
||||
}
|
||||
|
||||
static int __devinit qec_sbus_probe(struct platform_device *op)
|
||||
static int qec_sbus_probe(struct platform_device *op)
|
||||
{
|
||||
return qec_ether_init(op);
|
||||
}
|
||||
|
||||
static int __devexit qec_sbus_remove(struct platform_device *op)
|
||||
static int qec_sbus_remove(struct platform_device *op)
|
||||
{
|
||||
struct sunqe *qp = dev_get_drvdata(&op->dev);
|
||||
struct net_device *net_dev = qp->dev;
|
||||
@@ -971,7 +971,7 @@ static struct platform_driver qec_sbus_driver = {
|
||||
.of_match_table = qec_sbus_match,
|
||||
},
|
||||
.probe = qec_sbus_probe,
|
||||
.remove = __devexit_p(qec_sbus_remove),
|
||||
.remove = qec_sbus_remove,
|
||||
};
|
||||
|
||||
static int __init qec_init(void)
|
||||
|
Reference in New Issue
Block a user