Commit 4f9d8b7e authored by Simon Sandström's avatar Simon Sandström Committed by Greg Kroah-Hartman
Browse files

staging: kpc2000: fix alignment issues in cell_probe.c



Fixes checkpatch.pl warnings "Alignment should match open parenthesis"
and "Lines should not end with a '('".

Signed-off-by: default avatarSimon Sandström <simon@nikanor.nu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 250b2441
Loading
Loading
Loading
Loading
+15 −19
Original line number Diff line number Diff line
@@ -128,15 +128,13 @@ static int probe_core_basic(unsigned int core_num, struct kp2000_device *pcard,

	cell.resources = resources;

	return mfd_add_devices(
		PCARD_TO_DEV(pcard),    // parent
	return mfd_add_devices(PCARD_TO_DEV(pcard),    // parent
			       pcard->card_num * 100,  // id
			       &cell,                  // struct mfd_cell *
			       1,                      // ndevs
			       &pcard->regs_base_resource,
			       0,                      // irq_base
		NULL                    // struct irq_domain *
	);
			       NULL);                  // struct irq_domain *
}


@@ -373,15 +371,13 @@ static int create_dma_engine_core(struct kp2000_device *pcard, size_t engine_re

	cell.resources = resources;

	return mfd_add_devices(
		PCARD_TO_DEV(pcard),    // parent
	return mfd_add_devices(PCARD_TO_DEV(pcard),    // parent
			       pcard->card_num * 100,  // id
			       &cell,                  // struct mfd_cell *
			       1,                      // ndevs
			       &pcard->dma_base_resource,
			       0,                      // irq_base
		NULL                    // struct irq_domain *
	);
			       NULL);                  // struct irq_domain *
}

static int  kp2000_setup_dma_controller(struct kp2000_device *pcard)