Skip to content

Commit

Permalink
driver: char: rpivid: Fix coding style whitespace issues.
Browse files Browse the repository at this point in the history
Makes checkpatch happier.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  • Loading branch information
6by9 authored and pelwell committed Jan 21, 2020
1 parent 340a9f1 commit c7dd0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/broadcom/rpivid-mem.c
Expand Up @@ -66,6 +66,7 @@ static int rpivid_mem_open(struct inode *inode, struct file *file)
int dev = iminor(inode);
int ret = 0;
struct rpivid_mem_priv *priv;

if (dev != DEVICE_MINOR && dev != DEVICE_MINOR + 1)
ret = -ENXIO;

Expand Down Expand Up @@ -135,7 +136,6 @@ static int rpivid_mem_probe(struct platform_device *pdev)
struct resource *ioresource;
struct rpivid_mem_priv *priv;


/* Allocate buffers and instance data */

priv = kzalloc(sizeof(struct rpivid_mem_priv), GFP_KERNEL);
Expand Down

0 comments on commit c7dd0b4

Please sign in to comment.