net/phy: 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
45ac936c3e
commit
633d159497
@@ -96,7 +96,7 @@ static int octeon_mdiobus_write(struct mii_bus *bus, int phy_id,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devinit octeon_mdiobus_probe(struct platform_device *pdev)
|
||||
static int octeon_mdiobus_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct octeon_mdiobus *bus;
|
||||
struct resource *res_mem;
|
||||
@@ -159,7 +159,7 @@ fail:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit octeon_mdiobus_remove(struct platform_device *pdev)
|
||||
static int octeon_mdiobus_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct octeon_mdiobus *bus;
|
||||
union cvmx_smix_en smi_en;
|
||||
@@ -188,7 +188,7 @@ static struct platform_driver octeon_mdiobus_driver = {
|
||||
.of_match_table = octeon_mdiobus_match,
|
||||
},
|
||||
.probe = octeon_mdiobus_probe,
|
||||
.remove = __devexit_p(octeon_mdiobus_remove),
|
||||
.remove = octeon_mdiobus_remove,
|
||||
};
|
||||
|
||||
void octeon_mdiobus_force_mod_depencency(void)
|
||||
|
Reference in New Issue
Block a user