staging: comedi: jr3_pci: rename 'channel' to 'block'
authorIan Abbott <abbotti@mev.co.uk>
Wed, 8 Mar 2017 18:44:26 +0000 (18:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 13:57:00 +0000 (14:57 +0100)
commit6c7f58084fce3f07d4954555173171348ddff8f5
treedb0a28a9ec10a6813e36f1437972096b95258cee
parentef3ab9f85c9c3ed3eb2ef8c07ce969a5ce861ec6
staging: comedi: jr3_pci: rename 'channel' to 'block'

The term "channel" is overloaded in this driver.  Rename the `channel`
member of `struct jr3_t` to `block` to reduce confusion.  `block` is an
array of an anonymous `struct` type, with each element covering the
registers for one subdevice.

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
drivers/staging/comedi/drivers/jr3_pci.h