Linux kernel staging patches
 help / color / mirror / Atom feed
From: Jennifer Guo <guojy.bj@gmail.com>
To: linux-staging@lists.linux.dev
Cc: gregkh@linuxfoundation.org, Jennifer Guo <guojy.bj@gmail.com>
Subject: [PATCH] staging: media: atomisp: fix indentation for function parameters
Date: Tue, 12 May 2026 12:32:34 -0700	[thread overview]
Message-ID: <20260512193234.43156-1-guojy.bj@gmail.com> (raw)

Change the indentation for function parameters to avoid a '(' at the end
of the line.

This addresses the following checkpatch.pl check for csi_rx_private.h:
CHECK: Lines should not end with a '('

Signed-off-by: Jennifer Guo <guojy.bj@gmail.com>
---
 .../pci/css_2401_system/host/csi_rx_private.h | 51 ++++++++-----------
 1 file changed, 21 insertions(+), 30 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx_private.h b/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx_private.h
index 989f55bec519..0b5a9d56bf98 100644
--- a/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx_private.h
+++ b/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx_private.h
@@ -25,9 +25,8 @@
  * @brief Load the register value.
  * Refer to "csi_rx_public.h" for details.
  */
-static inline hrt_data csi_rx_fe_ctrl_reg_load(
-    const csi_rx_frontend_ID_t ID,
-    const hrt_address reg)
+static inline hrt_data csi_rx_fe_ctrl_reg_load(const csi_rx_frontend_ID_t ID,
+					       const hrt_address reg)
 {
 	assert(ID < N_CSI_RX_FRONTEND_ID);
 	assert(CSI_RX_FE_CTRL_BASE[ID] != (hrt_address)-1);
@@ -39,10 +38,9 @@ static inline hrt_data csi_rx_fe_ctrl_reg_load(
  * @brief Store a value to the register.
  * Refer to "ibuf_ctrl_public.h" for details.
  */
-static inline void csi_rx_fe_ctrl_reg_store(
-    const csi_rx_frontend_ID_t ID,
-    const hrt_address reg,
-    const hrt_data value)
+static inline void csi_rx_fe_ctrl_reg_store(const csi_rx_frontend_ID_t ID,
+					    const hrt_address reg,
+					    const hrt_data value)
 {
 	assert(ID < N_CSI_RX_FRONTEND_ID);
 	assert(CSI_RX_FE_CTRL_BASE[ID] != (hrt_address)-1);
@@ -55,9 +53,8 @@ static inline void csi_rx_fe_ctrl_reg_store(
  * @brief Load the register value.
  * Refer to "csi_rx_public.h" for details.
  */
-static inline hrt_data csi_rx_be_ctrl_reg_load(
-    const csi_rx_backend_ID_t ID,
-    const hrt_address reg)
+static inline hrt_data csi_rx_be_ctrl_reg_load(const csi_rx_backend_ID_t ID,
+					       const hrt_address reg)
 {
 	assert(ID < N_CSI_RX_BACKEND_ID);
 	assert(CSI_RX_BE_CTRL_BASE[ID] != (hrt_address)-1);
@@ -69,10 +66,9 @@ static inline hrt_data csi_rx_be_ctrl_reg_load(
  * @brief Store a value to the register.
  * Refer to "ibuf_ctrl_public.h" for details.
  */
-static inline void csi_rx_be_ctrl_reg_store(
-    const csi_rx_backend_ID_t ID,
-    const hrt_address reg,
-    const hrt_data value)
+static inline void csi_rx_be_ctrl_reg_store(const csi_rx_backend_ID_t ID,
+					    const hrt_address reg,
+					    const hrt_data value)
 {
 	assert(ID < N_CSI_RX_BACKEND_ID);
 	assert(CSI_RX_BE_CTRL_BASE[ID] != (hrt_address)-1);
@@ -92,10 +88,9 @@ static inline void csi_rx_be_ctrl_reg_store(
  * @brief Get the state of the csi rx fe dlane process.
  * Refer to "csi_rx_public.h" for details.
  */
-static inline void csi_rx_fe_ctrl_get_dlane_state(
-    const csi_rx_frontend_ID_t ID,
-    const u32 lane,
-    csi_rx_fe_ctrl_lane_t *dlane_state)
+static inline void
+csi_rx_fe_ctrl_get_dlane_state(const csi_rx_frontend_ID_t ID, const u32 lane,
+			       csi_rx_fe_ctrl_lane_t *dlane_state)
 {
 	dlane_state->termen =
 	    csi_rx_fe_ctrl_reg_load(ID, _HRT_CSI_RX_DLY_CNT_TERMEN_DLANE_REG_IDX(lane));
@@ -107,9 +102,8 @@ static inline void csi_rx_fe_ctrl_get_dlane_state(
  * @brief Get the csi rx fe state.
  * Refer to "csi_rx_public.h" for details.
  */
-static inline void csi_rx_fe_ctrl_get_state(
-    const csi_rx_frontend_ID_t ID,
-    csi_rx_fe_ctrl_state_t *state)
+static inline void csi_rx_fe_ctrl_get_state(const csi_rx_frontend_ID_t ID,
+					    csi_rx_fe_ctrl_state_t *state)
 {
 	u32 i;
 
@@ -146,9 +140,8 @@ static inline void csi_rx_fe_ctrl_get_state(
  * @brief dump the csi rx fe state.
  * Refer to "csi_rx_public.h" for details.
  */
-static inline void csi_rx_fe_ctrl_dump_state(
-    const csi_rx_frontend_ID_t ID,
-    csi_rx_fe_ctrl_state_t *state)
+static inline void csi_rx_fe_ctrl_dump_state(const csi_rx_frontend_ID_t ID,
+					     csi_rx_fe_ctrl_state_t *state)
 {
 	u32 i;
 
@@ -184,9 +177,8 @@ static inline void csi_rx_fe_ctrl_dump_state(
  * @brief Get the csi rx be state.
  * Refer to "csi_rx_public.h" for details.
  */
-static inline void csi_rx_be_ctrl_get_state(
-    const csi_rx_backend_ID_t ID,
-    csi_rx_be_ctrl_state_t *state)
+static inline void csi_rx_be_ctrl_get_state(const csi_rx_backend_ID_t ID,
+					    csi_rx_be_ctrl_state_t *state)
 {
 	u32 i;
 
@@ -247,9 +239,8 @@ static inline void csi_rx_be_ctrl_get_state(
  * @brief Dump the csi rx be state.
  * Refer to "csi_rx_public.h" for details.
  */
-static inline void csi_rx_be_ctrl_dump_state(
-    const csi_rx_backend_ID_t ID,
-    csi_rx_be_ctrl_state_t *state)
+static inline void csi_rx_be_ctrl_dump_state(const csi_rx_backend_ID_t ID,
+					     csi_rx_be_ctrl_state_t *state)
 {
 	u32 i;
 
-- 
2.34.1


                 reply	other threads:[~2026-05-12 19:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260512193234.43156-1-guojy.bj@gmail.com \
    --to=guojy.bj@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-staging@lists.linux.dev \
    /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