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

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

staging: comedi: gsc_hpdi: rename init_plx9080()



For aesthetics, rename this function so it has namespace associated
with the driver.

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 6a23558b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -591,7 +591,7 @@ static int init_hpdi(struct comedi_device *dev)
	return 0;
}

static void init_plx9080(struct comedi_device *dev)
static void gsc_hpdi_init_plx9080(struct comedi_device *dev)
{
	struct hpdi_private *devpriv = dev->private;
	uint32_t bits;
@@ -677,7 +677,7 @@ static int gsc_hpdi_auto_attach(struct comedi_device *dev,
		return -ENOMEM;
	}

	init_plx9080(dev);
	gsc_hpdi_init_plx9080(dev);

	/*  get irq */
	if (request_irq(pcidev->irq, gsc_hpdi_interrupt, IRQF_SHARED,