staging: comedi: mf6x4: change type of local variable
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 6 Oct 2015 18:11:17 +0000 (11:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:55:31 +0000 (22:55 -0700)
For aesthetics, change the type of this local variable to unsigned int.

This fixes the checkpatch.pl issue about:
CHECK: Prefer kernel type 'u32' over 'uint32_t'

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
 drivers/staging/comedi/drivers/mf6x4.c | 60 +++++++++++++++++-----------------
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mf6x4.c

index 7fdb1e266b9375c27aeb7858cf78e12e58924618..b805f15150da3a131de485c1afbf403f54b6e01f 100644 (file)
@@ -168,7 +168,7 @@ static int mf6x4_ao_insn_write(struct comedi_device *dev,
        struct mf6x4_private *devpriv = dev->private;
        unsigned int chan = CR_CHAN(insn->chanspec);
        unsigned int val = s->readback[chan];
-       uint32_t gpioc;
+       unsigned int gpioc;
        int i;
 
        /* Enable instantaneous update of converters outputs + Enable DACs */