seeq: 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>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Bill Pemberton 2012-12-03 09:23:31 -05:00 committed by Greg Kroah-Hartman
parent f1e242648b
commit 5911ce0d99
2 changed files with 9 additions and 9 deletions

View File

@ -67,7 +67,7 @@
#include <asm/ecard.h> #include <asm/ecard.h>
#include <asm/io.h> #include <asm/io.h>
static char version[] __devinitdata = "ether3 ethernet driver (c) 1995-2000 R.M.King v1.17\n"; static char version[] = "ether3 ethernet driver (c) 1995-2000 R.M.King v1.17\n";
#include "ether3.h" #include "ether3.h"
@ -194,7 +194,7 @@ static inline void ether3_ledon(struct net_device *dev)
* Read the ethernet address string from the on board rom. * Read the ethernet address string from the on board rom.
* This is an ascii string!!! * This is an ascii string!!!
*/ */
static int __devinit static int
ether3_addr(char *addr, struct expansion_card *ec) ether3_addr(char *addr, struct expansion_card *ec)
{ {
struct in_chunk_dir cd; struct in_chunk_dir cd;
@ -219,7 +219,7 @@ ether3_addr(char *addr, struct expansion_card *ec)
/* --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- */
static int __devinit static int
ether3_ramtest(struct net_device *dev, unsigned char byte) ether3_ramtest(struct net_device *dev, unsigned char byte)
{ {
unsigned char *buffer = kmalloc(RX_END, GFP_KERNEL); unsigned char *buffer = kmalloc(RX_END, GFP_KERNEL);
@ -268,7 +268,7 @@ ether3_ramtest(struct net_device *dev, unsigned char byte)
/* ------------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------------- */
static int __devinit ether3_init_2(struct net_device *dev) static int ether3_init_2(struct net_device *dev)
{ {
int i; int i;
@ -742,7 +742,7 @@ static void ether3_tx(struct net_device *dev)
} }
} }
static void __devinit ether3_banner(void) static void ether3_banner(void)
{ {
static unsigned version_printed = 0; static unsigned version_printed = 0;
@ -761,7 +761,7 @@ static const struct net_device_ops ether3_netdev_ops = {
.ndo_set_mac_address = eth_mac_addr, .ndo_set_mac_address = eth_mac_addr,
}; };
static int __devinit static int
ether3_probe(struct expansion_card *ec, const struct ecard_id *id) ether3_probe(struct expansion_card *ec, const struct ecard_id *id)
{ {
const struct ether3_data *data = id->data; const struct ether3_data *data = id->data;
@ -858,7 +858,7 @@ ether3_probe(struct expansion_card *ec, const struct ecard_id *id)
return ret; return ret;
} }
static void __devexit ether3_remove(struct expansion_card *ec) static void ether3_remove(struct expansion_card *ec)
{ {
struct net_device *dev = ecard_get_drvdata(ec); struct net_device *dev = ecard_get_drvdata(ec);
@ -888,7 +888,7 @@ static const struct ecard_id ether3_ids[] = {
static struct ecard_driver ether3_driver = { static struct ecard_driver ether3_driver = {
.probe = ether3_probe, .probe = ether3_probe,
.remove = __devexit_p(ether3_remove), .remove = ether3_remove,
.id_table = ether3_ids, .id_table = ether3_ids,
.drv = { .drv = {
.name = "ether3", .name = "ether3",

View File

@ -721,7 +721,7 @@ static const struct net_device_ops sgiseeq_netdev_ops = {
.ndo_validate_addr = eth_validate_addr, .ndo_validate_addr = eth_validate_addr,
}; };
static int __devinit sgiseeq_probe(struct platform_device *pdev) static int sgiseeq_probe(struct platform_device *pdev)
{ {
struct sgiseeq_platform_data *pd = pdev->dev.platform_data; struct sgiseeq_platform_data *pd = pdev->dev.platform_data;
struct hpc3_regs *hpcregs = pd->hpc; struct hpc3_regs *hpcregs = pd->hpc;