staging: media: atomisp: fix indentation for more function parameters
Subsystems (4)
PATCH 1/1 staging: media: atomisp: fix indentation for more function parameters
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 <[email protected]>
--- .../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(-)
drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c +2 -3
@@ -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 ));
drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h +8 -13
@@ -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;
Signature · 1 line
2.34.1