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

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

staging: comedi: gsc_hpdi: rename init_hpdi()



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 201a8143
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -562,7 +562,7 @@ static int gsc_hpdi_dio_insn_config(struct comedi_device *dev,
	return insn->n;
}

static int init_hpdi(struct comedi_device *dev)
static int gsc_hpdi_init(struct comedi_device *dev)
{
	struct hpdi_private *devpriv = dev->private;
	uint32_t plx_intcsr_bits;
@@ -730,7 +730,7 @@ static int gsc_hpdi_auto_attach(struct comedi_device *dev,
	s->do_cmdtest	= gsc_hpdi_cmd_test;
	s->cancel	= gsc_hpdi_cancel;

	return init_hpdi(dev);
	return gsc_hpdi_init(dev);
}

static void gsc_hpdi_detach(struct comedi_device *dev)