[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZBlShLl4PYlNIpGN@trent-reznor>
Date: Mon, 20 Mar 2023 23:45:24 -0700
From: Daniel Watson <ozzloy@...il.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
linux-media@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH] media: av7110: put spaces around operators
put spaces around '=' and '<=' to match style from checkpatch
Signed-off-by: Daniel Watson <ozzloy@...il.com>
---
drivers/staging/media/av7110/av7110_hw.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/media/av7110/av7110_hw.h b/drivers/staging/media/av7110/av7110_hw.h
index 6380d8950c695..3274146c401f1 100644
--- a/drivers/staging/media/av7110/av7110_hw.h
+++ b/drivers/staging/media/av7110/av7110_hw.h
@@ -402,8 +402,8 @@ static inline u32 irdebi(struct av7110 *av7110, u32 config, int addr, u32 val, u
{
u32 res;
- res=av7110_debiread(av7110, config, addr, count);
- if (count<=4)
+ res = av7110_debiread(av7110, config, addr, count);
+ if (count <= 4)
memcpy(av7110->debi_virt, (char *) &res, count);
return res;
}
@@ -424,7 +424,7 @@ static inline u32 rdebi(struct av7110 *av7110, u32 config, int addr, u32 val, un
u32 res;
spin_lock_irqsave(&av7110->debilock, flags);
- res=av7110_debiread(av7110, config, addr, count);
+ res = av7110_debiread(av7110, config, addr, count);
spin_unlock_irqrestore(&av7110->debilock, flags);
return res;
}
--
2.34.1
Powered by blists - more mailing lists