From: H Hartley Sweeten Date: Fri, 22 Mar 2013 22:56:32 +0000 (-0700) Subject: staging: comedi: s626: cleanup comedi_lrange table X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=90d54ff27e5d5cf0df6eb3cf351a8b2e26d94367;p=linux-beck.git staging: comedi: s626: cleanup comedi_lrange table Reformat the whitespace in the comedi_lrange table and use the BIP_RANGE() macro instead of generic RANGE() macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c index fe768e79c6bf..d5bf8c8d35d5 100644 --- a/drivers/staging/comedi/drivers/s626.c +++ b/drivers/staging/comedi/drivers/s626.c @@ -164,10 +164,11 @@ struct enc_private { #define I2C_B1(ATTR, VAL) (((ATTR) << 4) | ((VAL) << 16)) #define I2C_B0(ATTR, VAL) (((ATTR) << 2) | ((VAL) << 8)) -static const struct comedi_lrange s626_range_table = { 2, { - RANGE(-5, 5), - RANGE(-10, 10), - } +static const struct comedi_lrange s626_range_table = { + 2, { + BIP_RANGE(5), + BIP_RANGE(10), + } }; /* Execute a DEBI transfer. This must be called from within a */