On Sun, Oct 06, 2019 at 07:49:03PM +0100, Jules Irenge wrote: > Capitalize RANGE_mA to fix camelcase check warning. > Issue reported by checkpatch.pl > > Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx> > --- > drivers/staging/comedi/comedidev.h | 2 +- > drivers/staging/comedi/drivers/adv_pci1724.c | 4 ++-- > drivers/staging/comedi/drivers/dac02.c | 2 +- > drivers/staging/comedi/range.c | 6 +++--- > 4 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h > index 54c091866777..2fc536db203c 100644 > --- a/drivers/staging/comedi/comedidev.h > +++ b/drivers/staging/comedi/comedidev.h > @@ -603,7 +603,7 @@ int comedi_check_chanlist(struct comedi_subdevice *s, > > #define RANGE(a, b) {(a) * 1e6, (b) * 1e6, 0} > #define RANGE_ext(a, b) {(a) * 1e6, (b) * 1e6, RF_EXTERNAL} > -#define RANGE_mA(a, b) {(a) * 1e6, (b) * 1e6, UNIT_MA} > +#define RANGE_MA(a, b) {(a) * 1e6, (b) * 1e6, UNIT_MA} Did you send this patch twice? Anyway, this is the units "mA", which needs to be "mA" for obvious reasons. Sorry, checkpatch is wrong in thsi case. thanks, greg k-h _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel