]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: comedi: plx9080.h: rename some macros for consistency
authorIan Abbott <abbotti@mev.co.uk>
Mon, 20 Jun 2016 13:05:49 +0000 (14:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:00:31 +0000 (17:00 +0200)
commit686869b451b0b106cf6b365361fd577080fbca7a
tree9f50e26357ebb9d24fb3b05b546213c1741cf048
parent6ad124d53a761b01b5b2ab78e6e77f0cef7a2b9e
staging: comedi: plx9080.h: rename some macros for consistency

Most of the macros in "plx9080.h" that define register values are
single-bits flags of the form `PLX_<REG>_<FLAG>`, or are constant,
multi-bit values of the form `PLX_<REG>_<FIELD>_<VAL>`, or are
non-constant, function-like macros of the form `PLX_<REG>_<FIELD>(x)`.
Some of the macros for constant, multi-bit values do not currently
fit the pattern, so rename them for consistency.

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