staging: comedi: das16: remove some unnecessary parentheses
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 29 Jul 2013 21:08:13 +0000 (14:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:38:10 +0000 (17:38 -0700)
These parentheses are not necessary.

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

index da640803d825df428661120479b98f10495824ab..599be27d15700d14cd5363075af97be5c5a2b004 100644 (file)
@@ -668,9 +668,9 @@ static int das16_cmd_test(struct comedi_device *dev, struct comedi_subdevice *s,
                unsigned int tmp = cmd->scan_begin_arg;
                /*  set divisors, correct timing arguments */
                i8253_cascade_ns_to_timer_2div(devpriv->clockbase,
-                                              &(devpriv->divisor1),
-                                              &(devpriv->divisor2),
-                                              &(cmd->scan_begin_arg),
+                                              &devpriv->divisor1,
+                                              &devpriv->divisor2,
+                                              &cmd->scan_begin_arg,
                                               cmd->flags & TRIG_ROUND_MASK);
                err += (tmp != cmd->scan_begin_arg);
        }
@@ -678,9 +678,9 @@ static int das16_cmd_test(struct comedi_device *dev, struct comedi_subdevice *s,
                unsigned int tmp = cmd->convert_arg;
                /*  set divisors, correct timing arguments */
                i8253_cascade_ns_to_timer_2div(devpriv->clockbase,
-                                              &(devpriv->divisor1),
-                                              &(devpriv->divisor2),
-                                              &(cmd->convert_arg),
+                                              &devpriv->divisor1,
+                                              &devpriv->divisor2,
+                                              &cmd->convert_arg,
                                               cmd->flags & TRIG_ROUND_MASK);
                err += (tmp != cmd->convert_arg);
        }
@@ -717,8 +717,10 @@ static unsigned int das16_set_pacer(struct comedi_device *dev, unsigned int ns,
        struct das16_private_struct *devpriv = dev->private;
        unsigned long timer_base = dev->iobase + DAS16_TIMER_BASE_REG;
 
-       i8253_cascade_ns_to_timer_2div(devpriv->clockbase, &(devpriv->divisor1),
-                                      &(devpriv->divisor2), &ns,
+       i8253_cascade_ns_to_timer_2div(devpriv->clockbase,
+                                      &devpriv->divisor1,
+                                      &devpriv->divisor2,
+                                      &ns,
                                       rounding_flags & TRIG_ROUND_MASK);
 
        /* Write the values of ctr1 and ctr2 into counters 1 and 2 */
@@ -1072,7 +1074,7 @@ static int das16_attach(struct comedi_device *dev, struct comedi_devconfig *it)
                set_dma_mode(devpriv->dma_chan, DMA_MODE_READ);
                release_dma_lock(flags);
 
-               init_timer(&(devpriv->timer));
+               init_timer(&devpriv->timer);
                devpriv->timer.function = das16_timer_interrupt;
                devpriv->timer.data = (unsigned long)dev;
        }