mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sunran001@208suo.com
To: mchehab@kernel.org
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] media: add missing spaces before '*' and remove spaces after '*'
Date: Fri, 14 Jul 2023 16:50:55 +0800	[thread overview]
Message-ID: <603b287b9f153389d8ccf87c21ae8a2d@208suo.com> (raw)
In-Reply-To: <20230714084941.14803-1-xujianghui@cdjrlc.com>

Add missing spaces to clear checkpatch errors.

ERROR: "foo* bar" should be "foo *bar"
ERROR: else should follow close brace '}'

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  drivers/media/dvb-frontends/bsbe1.h | 36 ++++++++++++++---------------
  1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/drivers/media/dvb-frontends/bsbe1.h 
b/drivers/media/dvb-frontends/bsbe1.h
index 7ca1bdc08177..89ca9b14a740 100644
--- a/drivers/media/dvb-frontends/bsbe1.h
+++ b/drivers/media/dvb-frontends/bsbe1.h
@@ -36,24 +36,24 @@ static int alps_bsbe1_set_symbol_rate(struct 
dvb_frontend *fe, u32 srate, u32 ra
      u8 aclk = 0;
      u8 bclk = 0;

-    if (srate < 1500000) {
-        aclk = 0xb7;
-        bclk = 0x47;
-    } else if (srate < 3000000) {
-        aclk = 0xb7;
-        bclk = 0x4b;
-    } else if (srate < 7000000) {
-        aclk = 0xb7;
-        bclk = 0x4f;
-    } else if (srate < 14000000) {
-        aclk = 0xb7;
-        bclk = 0x53;
-    } else if (srate < 30000000) {
-        aclk = 0xb6;
-        bclk = 0x53;
-    } else if (srate < 45000000) {
-        aclk = 0xb4;
-        bclk = 0x51;
+    if (srate < 1500000) {
+        aclk = 0xb7;
+        bclk = 0x47;
+    } else if (srate < 3000000) {
+        aclk = 0xb7;
+        bclk = 0x4b;
+    } else if (srate < 7000000) {
+        aclk = 0xb7;
+        bclk = 0x4f;
+    } else if (srate < 14000000) {
+        aclk = 0xb7;
+        bclk = 0x53;
+    } else if (srate < 30000000) {
+        aclk = 0xb6;
+        bclk = 0x53;
+    } else if (srate < 45000000) {
+        aclk = 0xb4;
+        bclk = 0x51;
      }

      stv0299_writereg(fe, 0x13, aclk);

           reply	other threads:[~2023-07-14  8:51 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230714084941.14803-1-xujianghui@cdjrlc.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=603b287b9f153389d8ccf87c21ae8a2d@208suo.com \
    --to=sunran001@208suo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®