Commit a690b7e5 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

staging: comedi: remove use of __devinit



CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a471eace
......@@ -213,7 +213,7 @@ static const void *pci_8255_find_boardinfo(struct comedi_device *dev,
return NULL;
}
static int __devinit pci_8255_auto_attach(struct comedi_device *dev,
static int pci_8255_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -308,7 +308,7 @@ static struct comedi_driver pci_8255_driver = {
.detach = pci_8255_detach,
};
static int __devinit pci_8255_pci_probe(struct pci_dev *dev,
static int pci_8255_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &pci_8255_driver);
......
......@@ -93,7 +93,7 @@ static const void *addi_find_boardinfo(struct comedi_device *dev,
return NULL;
}
static int __devinit addi_auto_attach(struct comedi_device *dev,
static int addi_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......
......@@ -47,7 +47,7 @@ static struct comedi_driver apci035_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci035_pci_probe(struct pci_dev *dev,
static int apci035_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci035_driver);
......
......@@ -285,7 +285,7 @@ static int apci1032_di_insn_bits(struct comedi_device *dev,
return insn->n;
}
static int __devinit apci1032_auto_attach(struct comedi_device *dev,
static int apci1032_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -369,7 +369,7 @@ static struct comedi_driver apci1032_driver = {
.detach = apci1032_detach,
};
static int __devinit apci1032_pci_probe(struct pci_dev *dev,
static int apci1032_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci1032_driver);
......
......@@ -47,7 +47,7 @@ static struct comedi_driver apci1500_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci1500_pci_probe(struct pci_dev *dev,
static int apci1500_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci1500_driver);
......
......@@ -225,7 +225,7 @@ static const void *apci1516_find_boardinfo(struct comedi_device *dev,
return NULL;
}
static int __devinit apci1516_auto_attach(struct comedi_device *dev,
static int apci1516_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -317,7 +317,7 @@ static struct comedi_driver apci1516_driver = {
.detach = apci1516_detach,
};
static int __devinit apci1516_pci_probe(struct pci_dev *dev,
static int apci1516_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci1516_driver);
......
......@@ -44,7 +44,7 @@ static struct comedi_driver apci1564_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci1564_pci_probe(struct pci_dev *dev,
static int apci1564_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci1564_driver);
......
......@@ -46,7 +46,7 @@ static struct comedi_driver apci16xx_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci16xx_pci_probe(struct pci_dev *dev,
static int apci16xx_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci16xx_driver);
......
......@@ -52,7 +52,7 @@ static const void *apci1710_find_boardinfo(struct comedi_device *dev,
return NULL;
}
static int __devinit apci1710_auto_attach(struct comedi_device *dev,
static int apci1710_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -122,7 +122,7 @@ static struct comedi_driver apci1710_driver = {
.detach = apci1710_detach,
};
static int __devinit apci1710_pci_probe(struct pci_dev *dev,
static int apci1710_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci1710_driver);
......
......@@ -41,7 +41,7 @@ static struct comedi_driver apci2032_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci2032_pci_probe(struct pci_dev *dev,
static int apci2032_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci2032_driver);
......
......@@ -39,7 +39,7 @@ static struct comedi_driver apci2200_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci2200_pci_probe(struct pci_dev *dev,
static int apci2200_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci2200_driver);
......
......@@ -60,7 +60,7 @@ static const void *apci3120_find_boardinfo(struct comedi_device *dev,
return NULL;
}
static int __devinit apci3120_auto_attach(struct comedi_device *dev,
static int apci3120_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -245,7 +245,7 @@ static struct comedi_driver apci3120_driver = {
.detach = apci3120_detach,
};
static int __devinit apci3120_pci_probe(struct pci_dev *dev,
static int apci3120_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci3120_driver);
......
......@@ -100,7 +100,7 @@ static struct comedi_driver apci3200_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci3200_pci_probe(struct pci_dev *dev,
static int apci3200_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci3200_driver);
......
......@@ -51,7 +51,7 @@ static struct comedi_driver apci3501_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci3501_pci_probe(struct pci_dev *dev,
static int apci3501_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci3501_driver);
......
......@@ -745,7 +745,7 @@ static struct comedi_driver apci3xxx_driver = {
.offset = sizeof(struct addi_board),
};
static int __devinit apci3xxx_pci_probe(struct pci_dev *dev,
static int apci3xxx_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &apci3xxx_driver);
......
......@@ -174,7 +174,7 @@ static const void *pci6208_find_boardinfo(struct comedi_device *dev,
return NULL;
}
static int __devinit pci6208_auto_attach(struct comedi_device *dev,
static int pci6208_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -264,7 +264,7 @@ static struct comedi_driver adl_pci6208_driver = {
.detach = pci6208_detach,
};
static int __devinit adl_pci6208_pci_probe(struct pci_dev *dev,
static int adl_pci6208_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &adl_pci6208_driver);
......
......@@ -168,7 +168,7 @@ static const void *adl_pci7x3x_find_boardinfo(struct comedi_device *dev,
return NULL;
}
static int __devinit adl_pci7x3x_auto_attach(struct comedi_device *dev,
static int adl_pci7x3x_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -296,7 +296,7 @@ static struct comedi_driver adl_pci7x3x_driver = {
.detach = adl_pci7x3x_detach,
};
static int __devinit adl_pci7x3x_pci_probe(struct pci_dev *dev,
static int adl_pci7x3x_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &adl_pci7x3x_driver);
......
......@@ -212,7 +212,7 @@ static int adl_pci8164_insn_write_buf1(struct comedi_device *dev,
return 2;
}
static int __devinit adl_pci8164_auto_attach(struct comedi_device *dev,
static int adl_pci8164_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -292,7 +292,7 @@ static struct comedi_driver adl_pci8164_driver = {
.detach = adl_pci8164_detach,
};
static int __devinit adl_pci8164_pci_probe(struct pci_dev *dev,
static int adl_pci8164_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &adl_pci8164_driver);
......
......@@ -856,7 +856,7 @@ static int pci9111_reset(struct comedi_device *dev)
return 0;
}
static int __devinit pci9111_auto_attach(struct comedi_device *dev,
static int pci9111_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -957,7 +957,7 @@ static struct comedi_driver adl_pci9111_driver = {
.detach = pci9111_detach,
};
static int __devinit pci9111_pci_probe(struct pci_dev *dev,
static int pci9111_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &adl_pci9111_driver);
......
......@@ -2155,7 +2155,7 @@ static int pci9118_attach(struct comedi_device *dev,
softsshdelay, hw_err_mask);
}
static int __devinit pci9118_auto_attach(struct comedi_device *dev,
static int pci9118_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
......@@ -2219,7 +2219,7 @@ static struct comedi_driver adl_pci9118_driver = {
.offset = sizeof(struct boardtype),
};
static int __devinit adl_pci9118_pci_probe(struct pci_dev *dev,
static int adl_pci9118_pci_probe(struct pci_dev *dev,
const struct pci_device_id *ent)
{
return comedi_pci_auto_config(dev, &adl_pci9118_driver);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment