]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: improve ignoring CamelCase SI style variants like mA
authorJoe Perches <joe@perches.com>
Thu, 5 Dec 2019 00:52:06 +0000 (16:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 Dec 2019 03:44:13 +0000 (19:44 -0800)
commitb999b2d171f728a8bb9841c511f906ed5cb545cc
treeae0034c72b45e8c4c6d10bfbaa4d8ae208f78fda
parent04ae7aeae918871dba3f78ec38804d22da046337
checkpatch: improve ignoring CamelCase SI style variants like mA

Ignore all upper-case variants before and after SI units like mA, mV and
uV so uses like RANGE_mA do not emit a CAMELCASE message.

Link: http://lkml.kernel.org/r/5ce6f9131327fd2e12d7a0e20a55f588448de090.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Jules Irenge <jbi.octave@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl