ibm/emac: 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:
Bill Pemberton
2012-12-03 09:23:13 -05:00
committed by Greg Kroah-Hartman
parent e11787a231
commit fe17dc1e2b
5 changed files with 21 additions and 21 deletions

View File

@@ -33,7 +33,7 @@
static int mal_count;
int __devinit mal_register_commac(struct mal_instance *mal,
int mal_register_commac(struct mal_instance *mal,
struct mal_commac *commac)
{
unsigned long flags;
@@ -517,7 +517,7 @@ void *mal_dump_regs(struct mal_instance *mal, void *buf)
return regs + 1;
}
static int __devinit mal_probe(struct platform_device *ofdev)
static int mal_probe(struct platform_device *ofdev)
{
struct mal_instance *mal;
int err = 0, i, bd_size;
@@ -729,7 +729,7 @@ static int __devinit mal_probe(struct platform_device *ofdev)
return err;
}
static int __devexit mal_remove(struct platform_device *ofdev)
static int mal_remove(struct platform_device *ofdev)
{
struct mal_instance *mal = dev_get_drvdata(&ofdev->dev);