brcm2708: update to latest patches from the RPi foundation
[openwrt/staging/wigyori.git] / target / linux / brcm2708 / patches-4.19 / 950-0258-staging-bcm2835-camera-Fix-alignment-should-match-op.patch
1 From d8c77a920cd800c375e1040f61ed15ec53219c1c Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Mon, 29 Oct 2018 15:55:42 +0000
4 Subject: [PATCH 258/725] staging: bcm2835-camera: Fix alignment should match
5 open parenthesis
6
7 Fix up checkpatch "Alignment should match open parenthesis" errors
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
10 ---
11 .../staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 8 ++++----
12 1 file changed, 4 insertions(+), 4 deletions(-)
13
14 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
15 +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
16 @@ -1934,7 +1934,7 @@ static int bcm2835_mmal_probe(struct pla
17 ret = bm2835_mmal_init_controls(dev, &dev->ctrl_handler);
18 if (ret < 0) {
19 v4l2_err(&dev->v4l2_dev, "%s: could not init controls: %d\n",
20 - __func__, ret);
21 + __func__, ret);
22 goto unreg_dev;
23 }
24 dev->v4l2_dev.ctrl_handler = &dev->ctrl_handler;
25 @@ -1944,7 +1944,7 @@ static int bcm2835_mmal_probe(struct pla
26 ret = mmal_init(dev);
27 if (ret < 0) {
28 v4l2_err(&dev->v4l2_dev, "%s: mmal init failed: %d\n",
29 - __func__, ret);
30 + __func__, ret);
31 goto unreg_dev;
32 }
33 /* initialize queue */
34 @@ -1966,7 +1966,7 @@ static int bcm2835_mmal_probe(struct pla
35 ret = bm2835_mmal_init_device(dev, &dev->vdev);
36 if (ret < 0) {
37 v4l2_err(&dev->v4l2_dev, "%s: could not init device: %d\n",
38 - __func__, ret);
39 + __func__, ret);
40 goto unreg_dev;
41 }
42
43 @@ -1976,7 +1976,7 @@ static int bcm2835_mmal_probe(struct pla
44 ret = mmal_setup_components(dev, &default_v4l2_format);
45 if (ret < 0) {
46 v4l2_err(&dev->v4l2_dev, "%s: could not setup components: %d\n",
47 - __func__, ret);
48 + __func__, ret);
49 goto unreg_dev;
50 }
51