Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0756f8d7 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: adl_pci9111: rename CamelCase parameters



Rename the CamelCase parameters of plx9050_interrupt_control().

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 262a07ac
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -124,21 +124,21 @@ struct pci9111_private_data {
};

static void plx9050_interrupt_control(unsigned long io_base,
				      bool LINTi1_enable,
				      bool LINTi1_active_high,
				      bool LINTi2_enable,
				      bool LINTi2_active_high,
				      bool int1_enable,
				      bool int1_active_high,
				      bool int2_enable,
				      bool int2_active_high,
				      bool interrupt_enable)
{
	int flags = 0;

	if (LINTi1_enable)
	if (int1_enable)
		flags |= PLX9052_INTCSR_LI1ENAB;
	if (LINTi1_active_high)
	if (int1_active_high)
		flags |= PLX9052_INTCSR_LI1POL;
	if (LINTi2_enable)
	if (int2_enable)
		flags |= PLX9052_INTCSR_LI2ENAB;
	if (LINTi2_active_high)
	if (int2_active_high)
		flags |= PLX9052_INTCSR_LI2POL;

	if (interrupt_enable)