From: Ian Abbott Date: Fri, 5 Jun 2015 17:30:29 +0000 (+0100) Subject: staging: comedi: das08: rename ai range tables X-Git-Tag: v4.2-rc1~88^2~197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a76ccfa81e8268025b3dc3dfd76420f6049032f7;p=platform%2Fkernel%2Flinux-exynos.git staging: comedi: das08: rename ai range tables 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 Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/das08.c b/drivers/staging/comedi/drivers/das08.c index 4bde52a4a17a..9f2113c1e1fc 100644 --- a/drivers/staging/comedi/drivers/das08.c +++ b/drivers/staging/comedi/drivers/das08.c @@ -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[] = {