staging: comedi: das08: rename ai range tables
authorIan Abbott <abbotti@mev.co.uk>
Fri, 5 Jun 2015 17:30:29 +0000 (18:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:06:41 +0000 (17:06 -0700)
The `range_das08_pgl`, `range_das08_pgm`, and `range_das08_pgh`
variables define the analog input ranges for the "PGL", "PGM", and "PGH"
board variants, and are also used for the "AOL", "AOM", and "AOH" board
variants.  Rename them to use the `das08_` prefix for consistency.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08.c

index 4bde52a4a17ac6083d6b06b48ddf0ece993a1dab..9f2113c1e1fc34183d57f7eb85dce5f768b7057f 100644 (file)
@@ -94,7 +94,7 @@
 
 /* gainlist same as _pgx_ below */
 
-static const struct comedi_lrange range_das08_pgl = {
+static const struct comedi_lrange das08_pgl_ai_range = {
        9, {
                BIP_RANGE(10),
                BIP_RANGE(5),
@@ -108,7 +108,7 @@ static const struct comedi_lrange range_das08_pgl = {
        }
 };
 
-static const struct comedi_lrange range_das08_pgh = {
+static const struct comedi_lrange das08_pgh_ai_range = {
        12, {
                BIP_RANGE(10),
                BIP_RANGE(5),
@@ -125,7 +125,7 @@ static const struct comedi_lrange range_das08_pgh = {
        }
 };
 
-static const struct comedi_lrange range_das08_pgm = {
+static const struct comedi_lrange das08_pgm_ai_range = {
        9, {
                BIP_RANGE(10),
                BIP_RANGE(5),
@@ -142,9 +142,9 @@ static const struct comedi_lrange range_das08_pgm = {
 static const struct comedi_lrange *const das08_ai_lranges[] = {
        [das08_pg_none]         = &range_unknown,
        [das08_bipolar5]        = &range_bipolar5,
-       [das08_pgh]             = &range_das08_pgh,
-       [das08_pgl]             = &range_das08_pgl,
-       [das08_pgm]             = &range_das08_pgm,
+       [das08_pgh]             = &das08_pgh_ai_range,
+       [das08_pgl]             = &das08_pgl_ai_range,
+       [das08_pgm]             = &das08_pgm_ai_range,
 };
 
 static const int das08_pgh_gainlist[] = {