From: H Hartley Sweeten Date: Tue, 10 Dec 2013 00:31:28 +0000 (-0700) Subject: staging: comedi: s626: tidy up comedi_lrange table X-Git-Tag: firefly_0821_release~176^2~4489^2~270 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=481ac510257eee7c258d19021f750ab0ead7cab4;p=firefly-linux-kernel-4.4.55.git staging: comedi: s626: tidy up comedi_lrange table The comedi_lrange tables are fixed length based on the 'length' value before the array of comedi_krange 'range' values. For aesthetics, remove the trailing comma from last 'range' value. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c index ae13b0ee725b..19da1dbea494 100644 --- a/drivers/staging/comedi/drivers/s626.c +++ b/drivers/staging/comedi/drivers/s626.c @@ -199,7 +199,7 @@ static bool s626_mc_test(struct comedi_device *dev, static const struct comedi_lrange s626_range_table = { 2, { BIP_RANGE(5), - BIP_RANGE(10), + BIP_RANGE(10) } };