diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2020-09-27 21:12:18 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-09-27 22:06:52 +0200 |
commit | 32e4d9df60f71d641fbe628a9afbe2f44d7e9a37 (patch) | |
tree | 789ac930f98dfe2f5d32f27acaed9ca6ab157834 /drivers/char/agp/nvidia-agp.c | |
parent | Merge tag 'drm-misc-next-2020-09-21' of git://anongit.freedesktop.org/drm/drm... (diff) | |
download | linux-32e4d9df60f71d641fbe628a9afbe2f44d7e9a37.tar.xz linux-32e4d9df60f71d641fbe628a9afbe2f44d7e9a37.zip |
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>
Diffstat (limited to 'drivers/char/agp/nvidia-agp.c')
-rw-r--r-- | drivers/char/agp/nvidia-agp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/nvidia-agp.c b/drivers/char/agp/nvidia-agp.c index 623205bcd04a..f78e756157db 100644 --- a/drivers/char/agp/nvidia-agp.c +++ b/drivers/char/agp/nvidia-agp.c @@ -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; |