staging: comedi: jr3_pci: rename channel to sensor
authorIan Abbott <abbotti@mev.co.uk>
Wed, 8 Mar 2017 18:44:24 +0000 (18:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 13:57:00 +0000 (14:57 +0100)
commit713eab88c66de4ef0a851f30f24ea8b922f6791b
tree0ed43d8929840f5a4f331c56b9aad63475bc81d6
parentc5ad0c7b51ae904c2d8ff7725d549e1b5cb5dcc0
staging: comedi: jr3_pci: rename channel to sensor

The driver overloads the term "channel" a lot.  To help reduce
confusion, rename the `channel` member of `struct
jr3_pci_subdev_private` to `sensor` as it points to a `struct
jr3_sensor`.  Also rename the various function parameters and local
variables called `channel` that point to a `struct jr3_sensor` to
`sensor`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/jr3_pci.c