aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/masters/matrox_w1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/w1/masters/matrox_w1.c')
-rw-r--r--drivers/w1/masters/matrox_w1.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/w1/masters/matrox_w1.c b/drivers/w1/masters/matrox_w1.c
index f667c26b2195..d8667b0212d7 100644
--- a/drivers/w1/masters/matrox_w1.c
+++ b/drivers/w1/masters/matrox_w1.c
@@ -48,14 +48,14 @@ static struct pci_device_id matrox_w1_tbl[] = {
48}; 48};
49MODULE_DEVICE_TABLE(pci, matrox_w1_tbl); 49MODULE_DEVICE_TABLE(pci, matrox_w1_tbl);
50 50
51static int __devinit matrox_w1_probe(struct pci_dev *, const struct pci_device_id *); 51static int matrox_w1_probe(struct pci_dev *, const struct pci_device_id *);
52static void __devexit matrox_w1_remove(struct pci_dev *); 52static void matrox_w1_remove(struct pci_dev *);
53 53
54static struct pci_driver matrox_w1_pci_driver = { 54static struct pci_driver matrox_w1_pci_driver = {
55 .name = "matrox_w1", 55 .name = "matrox_w1",
56 .id_table = matrox_w1_tbl, 56 .id_table = matrox_w1_tbl,
57 .probe = matrox_w1_probe, 57 .probe = matrox_w1_probe,
58 .remove = __devexit_p(matrox_w1_remove), 58 .remove = matrox_w1_remove,
59}; 59};
60 60
61/* 61/*
@@ -152,7 +152,7 @@ static void matrox_w1_hw_init(struct matrox_device *dev)
152 matrox_w1_write_reg(dev, MATROX_GET_CONTROL, 0x00); 152 matrox_w1_write_reg(dev, MATROX_GET_CONTROL, 0x00);
153} 153}
154 154
155static int __devinit matrox_w1_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 155static int matrox_w1_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
156{ 156{
157 struct matrox_device *dev; 157 struct matrox_device *dev;
158 int err; 158 int err;
@@ -220,7 +220,7 @@ err_out_free_device:
220 return err; 220 return err;
221} 221}
222 222
223static void __devexit matrox_w1_remove(struct pci_dev *pdev) 223static void matrox_w1_remove(struct pci_dev *pdev)
224{ 224{
225 struct matrox_device *dev = pci_get_drvdata(pdev); 225 struct matrox_device *dev = pci_get_drvdata(pdev);
226 226