mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
agp: use semicolons rather than commas to separate statements
Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // <smpl> @@ expression e1,e2; @@ e1 -, +; e2 ... when any // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
6ea6be7708
commit
32e4d9df60
@ -425,7 +425,7 @@ static int agp_amdk7_probe(struct pci_dev *pdev,
|
||||
return -ENOMEM;
|
||||
|
||||
bridge->driver = &amd_irongate_driver;
|
||||
bridge->dev_private_data = &amd_irongate_private,
|
||||
bridge->dev_private_data = &amd_irongate_private;
|
||||
bridge->dev = pdev;
|
||||
bridge->capndx = cap_ptr;
|
||||
|
||||
|
@ -382,7 +382,7 @@ static int agp_nvidia_probe(struct pci_dev *pdev,
|
||||
return -ENOMEM;
|
||||
|
||||
bridge->driver = &nvidia_driver;
|
||||
bridge->dev_private_data = &nvidia_private,
|
||||
bridge->dev_private_data = &nvidia_private;
|
||||
bridge->dev = pdev;
|
||||
bridge->capndx = cap_ptr;
|
||||
|
||||
|
@ -513,7 +513,7 @@ static int agp_serverworks_probe(struct pci_dev *pdev,
|
||||
return -ENOMEM;
|
||||
|
||||
bridge->driver = &sworks_driver;
|
||||
bridge->dev_private_data = &serverworks_private,
|
||||
bridge->dev_private_data = &serverworks_private;
|
||||
bridge->dev = pci_dev_get(pdev);
|
||||
|
||||
pci_set_drvdata(pdev, bridge);
|
||||
|
Loading…
Reference in New Issue
Block a user