]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b4e30bce67c923945b7d75c6b1c1572ab617939
tree0ed43d8929840f5a4f331c56b9aad63475bc81d6
parenta888be27a6f967eb1e6ac02de66a26bbe78519c1
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