Commit faf9ca25 authored by Deepak R Varma's avatar Deepak R Varma Committed by Greg Kroah-Hartman
Browse files

staging: kpc2000: re-indent code for better readability



Re-indent code as per the coding style guidelines. The changes improve
code readability. Issue reported by checkpatch script.

Signed-off-by: default avatarDeepak R Varma <mh12gx2825@gmail.com>
Link: https://lore.kernel.org/r/29cf604e69435c1f0ef46397d0d8a1b62f32fa9b.1603295576.git.mh12gx2825@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ae94bd53
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -124,6 +124,7 @@ static ssize_t cpld_reconfigure(struct device *dev,
	writeq(wr_val, pcard->sysinfo_regs_base + REG_CPLD_CONFIG);
	return count;
}

static DEVICE_ATTR(cpld_reconfigure, 0220, NULL, cpld_reconfigure);

static ssize_t irq_mask_reg_show(struct device *dev,
+1 −2
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
#define KPC_DMA_ENGINE_SIZE         0x0100
#define ENGINE_CAP_PRESENT_MASK     0x1


#define KPC_DMA_CARD_IRQ_ENABLE                 (1 << 0)
#define KPC_DMA_CARD_IRQ_ACTIVE                 (1 << 1)
#define KPC_DMA_CARD_IRQ_PENDING                (1 << 2)