All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: media: atomisp: fix space and code indent
@ 2021-05-18  1:40 Jiabing Wan
  0 siblings, 0 replies; only message in thread
From: Jiabing Wan @ 2021-05-18  1:40 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Sakari Ailus, Greg Kroah-Hartman,
	Andy Shevchenko, Jiabing Wan, Rafael J. Wysocki, Linus Walleij,
	linux-media, linux-staging, linux-kernel
  Cc: wanjiabing

Fixing the following checkpatch errors:
ERROR: space required after that ',' (ctx:VxV)
ERROR: code indent should use tabs where possible

Signed-off-by: Jiabing Wan<kael_w@yeah.net>
---
 .../media/atomisp/include/linux/atomisp_platform.h        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/media/atomisp/include/linux/atomisp_platform.h b/drivers/staging/media/atomisp/include/linux/atomisp_platform.h
index 8c65733e0255..56df5678efc5 100644
--- a/drivers/staging/media/atomisp/include/linux/atomisp_platform.h
+++ b/drivers/staging/media/atomisp/include/linux/atomisp_platform.h
@@ -241,10 +241,10 @@ const struct atomisp_camera_caps *atomisp_get_default_camera_caps(void);
 #define __IS_SOC(x) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \
 		     boot_cpu_data.x86 == 6 &&                       \
 		     boot_cpu_data.x86_model == (x))
-#define __IS_SOCS(x,y) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \
-		        boot_cpu_data.x86 == 6 &&                       \
-		        (boot_cpu_data.x86_model == (x) || \
-		         boot_cpu_data.x86_model == (y)))
+#define __IS_SOCS(x, y) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \
+			boot_cpu_data.x86 == 6 &&                       \
+			(boot_cpu_data.x86_model == (x) || \
+			boot_cpu_data.x86_model == (y)))
 
 #define IS_MFLD	__IS_SOC(INTEL_FAM6_ATOM_SALTWELL_MID)
 #define IS_BYT	__IS_SOC(INTEL_FAM6_ATOM_SILVERMONT)
-- 
2.20.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-18  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18  1:40 [PATCH] staging: media: atomisp: fix space and code indent Jiabing Wan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.