Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH] staging: media: atomisp: fix indentation for more function parameters
@ 2026-05-12 20:59 Jennifer Guo
  0 siblings, 0 replies; only message in thread
From: Jennifer Guo @ 2026-05-12 20:59 UTC (permalink / raw)
  To: linux-staging; +Cc: gregkh, Jennifer Guo

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

This fixes the following checkpatch.pl check for files isys_dma.c,
isys_irq_private.h:

CHECK: Lines should not end with a '('

Signed-off-by: Jennifer Guo <guojy.bj@gmail.com>
---
 .../pci/css_2401_system/host/isys_dma.c       |  5 ++---
 .../css_2401_system/host/isys_irq_private.h   | 21 +++++++------------
 2 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c
index dfa7edefdff8..98a018384a15 100644
--- a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c
+++ b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c
@@ -13,9 +13,8 @@ const isys2401_dma_channel N_ISYS2401_DMA_CHANNEL_PROCS[N_ISYS2401_DMA_ID] = {
 	N_ISYS2401_DMA_CHANNEL
 };
 
-void isys2401_dma_set_max_burst_size(
-    const isys2401_dma_ID_t	dma_id,
-    uint32_t		max_burst_size)
+void isys2401_dma_set_max_burst_size(const isys2401_dma_ID_t dma_id,
+				     uint32_t max_burst_size)
 {
 	assert(dma_id < N_ISYS2401_DMA_ID);
 	assert((max_burst_size > 0x00) && (max_burst_size <= 0xFF));
diff --git a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h
index 4bd8209aaa01..9159a19a22f2 100644
--- a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h
+++ b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h
@@ -19,9 +19,8 @@
 * @brief Get the isys irq status.
 * Refer to "isys_irq.h" for details.
 */
-void isys_irqc_state_get(
-    const isys_irq_ID_t	isys_irqc_id,
-    isys_irqc_state_t *state)
+void isys_irqc_state_get(const isys_irq_ID_t isys_irqc_id,
+			 isys_irqc_state_t *state)
 {
 	state->edge     = isys_irqc_reg_load(isys_irqc_id, ISYS_IRQ_EDGE_REG_IDX);
 	state->mask     = isys_irqc_reg_load(isys_irqc_id, ISYS_IRQ_MASK_REG_IDX);
@@ -38,9 +37,8 @@ void isys_irqc_state_get(
 * @brief Dump the isys irq status.
 * Refer to "isys_irq.h" for details.
 */
-void isys_irqc_state_dump(
-    const isys_irq_ID_t	isys_irqc_id,
-    const isys_irqc_state_t *state)
+void isys_irqc_state_dump(const isys_irq_ID_t isys_irqc_id,
+			  const isys_irqc_state_t *state)
 {
 	ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE,
 			    "isys irq controller id %d\n\tstatus:0x%x\n\tedge:0x%x\n\tmask:0x%x\n\tenable:0x%x\n\tlevel_not_pulse:0x%x\n",
@@ -55,10 +53,8 @@ void isys_irqc_state_dump(
  + -------------------------------------------------------*/
 
 /* Support functions */
-void isys_irqc_reg_store(
-    const isys_irq_ID_t	isys_irqc_id,
-    const unsigned int	reg_idx,
-    const hrt_data	value)
+void isys_irqc_reg_store(const isys_irq_ID_t isys_irqc_id,
+			 const unsigned int reg_idx, const hrt_data value)
 {
 	unsigned int reg_addr;
 
@@ -72,9 +68,8 @@ void isys_irqc_reg_store(
 	ia_css_device_store_uint32(reg_addr, value);
 }
 
-hrt_data isys_irqc_reg_load(
-    const isys_irq_ID_t	isys_irqc_id,
-    const unsigned int	reg_idx)
+hrt_data isys_irqc_reg_load(const isys_irq_ID_t isys_irqc_id,
+			    const unsigned int reg_idx)
 {
 	unsigned int reg_addr;
 	hrt_data value;
-- 
2.34.1


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

only message in thread, other threads:[~2026-05-12 20:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 20:59 [PATCH] staging: media: atomisp: fix indentation for more function parameters Jennifer Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox