[PATCH 0/2] staging: comedi: plx9080.h: a couple more changes

From: Ian Abbott
Date: Mon Jun 20 2016 - 09:08:13 EST


A couple more changes to "plx9080.h" for easier extraction of fields
from register values, and macro naming consistency.

1) staging: comedi: plx9080.h: define PLX_<REG>_TO_<FIELD>(r) macros
2) staging: comedi: plx9080.h: rename some macros for consistency

drivers/staging/comedi/drivers/cb_pcidas64.c | 4 +-
drivers/staging/comedi/drivers/gsc_hpdi.c | 2 +-
drivers/staging/comedi/drivers/plx9080.h | 95 ++++++++++++++--------------
3 files changed, 49 insertions(+), 52 deletions(-)