From: H Hartley Sweeten Date: Tue, 6 Oct 2015 18:11:17 +0000 (-0700) Subject: staging: comedi: mf6x4: change type of local variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=21cf4eedae651b3850b1e659caad966e6d64136d;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: mf6x4: change type of local variable 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 drivers/staging/comedi/drivers/mf6x4.c | 60 +++++++++++++++++----------------- Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/mf6x4.c b/drivers/staging/comedi/drivers/mf6x4.c index 7fdb1e266b93..b805f15150da 100644 --- a/drivers/staging/comedi/drivers/mf6x4.c +++ b/drivers/staging/comedi/drivers/mf6x4.c @@ -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 */