26d0c9894be15b66ca242bec3570d6b27bd069c9
[openwrt/staging/robimarko.git] /
1 From c9faef0f02397b30c389352ab9915fe529889143 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Wed, 15 Jan 2020 14:05:45 +0000
4 Subject: [PATCH] driver: char: rpivid: Fix coding style whitespace
5 issues.
6
7 Makes checkpatch happier.
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
10 ---
11 drivers/char/broadcom/rpivid-mem.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/drivers/char/broadcom/rpivid-mem.c
15 +++ b/drivers/char/broadcom/rpivid-mem.c
16 @@ -66,6 +66,7 @@ static int rpivid_mem_open(struct inode
17 int dev = iminor(inode);
18 int ret = 0;
19 struct rpivid_mem_priv *priv;
20 +
21 if (dev != DEVICE_MINOR && dev != DEVICE_MINOR + 1)
22 ret = -ENXIO;
23
24 @@ -135,7 +136,6 @@ static int rpivid_mem_probe(struct platf
25 struct resource *ioresource;
26 struct rpivid_mem_priv *priv;
27
28 -
29 /* Allocate buffers and instance data */
30
31 priv = kzalloc(sizeof(struct rpivid_mem_priv), GFP_KERNEL);