From: Bruce Allan Date: Fri, 22 Feb 2013 00:44:19 +0000 (-0800) Subject: checkpatch: fix USLEEP_RANGE test X-Git-Tag: v3.9-rc1~114^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37581c28e9e77f44a3124ebab99b98643bda1aa2;p=pandora-kernel.git checkpatch: fix USLEEP_RANGE test Do not test udelay() for a value less than 10usec when passed a variable instead of a hard-coded number; there is no way for checkpatch to know the value of the variable. As it is today, it will complain about variables with alphanumeric characters plus '_', e.g. foo_bar, but not variables with other characters, eg. foo->bar. Signed-off-by: Bruce Allan Cc: Andy Whitcroft Cc: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed