mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
staging: comedi: ke_counter: rename cnt_auto_attach()
For aesthetics, rename this function so ist has namespace associated with the driver. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d250972f93
commit
7556dc3731
1 changed files with 3 additions and 3 deletions
|
@ -95,8 +95,8 @@ static int ke_counter_insn_read(struct comedi_device *dev,
|
|||
return insn->n;
|
||||
}
|
||||
|
||||
static int cnt_auto_attach(struct comedi_device *dev,
|
||||
unsigned long context_unused)
|
||||
static int ke_counter_auto_attach(struct comedi_device *dev,
|
||||
unsigned long context_unused)
|
||||
{
|
||||
struct pci_dev *pcidev = comedi_to_pci_dev(dev);
|
||||
struct comedi_subdevice *s;
|
||||
|
@ -132,7 +132,7 @@ static int cnt_auto_attach(struct comedi_device *dev,
|
|||
static struct comedi_driver ke_counter_driver = {
|
||||
.driver_name = "ke_counter",
|
||||
.module = THIS_MODULE,
|
||||
.auto_attach = cnt_auto_attach,
|
||||
.auto_attach = ke_counter_auto_attach,
|
||||
.detach = comedi_pci_disable,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue