summaryrefslogtreecommitdiff
path: root/drivers/misc/phantom.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-10-17 11:20:52 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-17 11:20:52 +0200
commit52f4f324c727e77507ae0490b08fc92e140ba57d (patch)
treec560a04a8c2025bf5e4a556d5ff0e86252a842db /drivers/misc/phantom.c
parent3baf63a507094992a5bf238ba3bcea71f458b1e8 (diff)
parent2e532d68a2b3e2aa6b19731501222069735c741c (diff)
Merge branch 'linus' into core/urgent
Diffstat (limited to 'drivers/misc/phantom.c')
-rw-r--r--drivers/misc/phantom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
index daf585689ce3..abdebe347383 100644
--- a/drivers/misc/phantom.c
+++ b/drivers/misc/phantom.c
@@ -399,9 +399,9 @@ static int __devinit phantom_probe(struct pci_dev *pdev,
goto err_irq;
}
- if (IS_ERR(device_create_drvdata(phantom_class, &pdev->dev,
- MKDEV(phantom_major, minor),
- NULL, "phantom%u", minor)))
+ if (IS_ERR(device_create(phantom_class, &pdev->dev,
+ MKDEV(phantom_major, minor), NULL,
+ "phantom%u", minor)))
dev_err(&pdev->dev, "can't create device\n");
pci_set_drvdata(pdev, pht);