media: add missing spaces before '*' and remove spaces after '*'

Message ID 603b287b9f153389d8ccf87c21ae8a2d@208suo.com (mailing list archive)
State Changes Requested
Delegated to: Hans Verkuil
Headers
Series media: add missing spaces before '*' and remove spaces after '*' |

Commit Message

sunran001@208suo.com July 14, 2023, 8:50 a.m. UTC
  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(-)

      stv0299_writereg(fe, 0x13, aclk);
  

Patch

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;
      }