]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6655: Remove macro PCAvDelayByIO
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Mon, 11 Apr 2022 20:49:54 +0000 (22:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2022 13:51:37 +0000 (15:51 +0200)
commitb77b8133051ea6f9e52a3e608187095b52bd203a
treeec036f8000c4fc582c1e95b12b17aee42f24fe46
parentc564ba3ff94348b6361d3aa990fc609e487dc5a7
staging: vt6655: Remove macro PCAvDelayByIO

Remove do-while(0) and CamelCase macro PCAvDelayByIO as
it is not accepted by checkpatch.pl
As the macro is just used once with a constant <= 50 the
functionality of the macro is implemented by using
udelay() directly.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/e8267e7566d389f318a72d911083e52b02e37210.1649706687.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/srom.c
drivers/staging/vt6655/upc.h