summaryrefslogtreecommitdiff
path: root/drivers/greybus
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2023-12-07 20:56:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-15 16:24:12 +0300
commit28a7ec8c6679f594b4218090fe2932a647594fe2 (patch)
tree89a100f72d3d3f287dc20cb690870ee90b9f9ebe /drivers/greybus
parentfd64ff0966d39422f547d7935b8988e962f9f91e (diff)
downloadlinux-28a7ec8c6679f594b4218090fe2932a647594fe2.tar.xz
tty: serial: amba-pl011: fix formatting of conditions
Fix the following checkpatch warnings & checks: $ ./scripts/checkpatch.pl --strict --file \ drivers/tty/serial/amba-pl011.c CHECK: Unbalanced braces around else statement CHECK: Unnecessary parentheses around '[...]' CHECK: braces {} should be used on all arms of this statement CHECK: Comparison to NULL could be written "[...]" WARNING: Comparisons should place the constant on the right side of the test Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Link: https://lore.kernel.org/r/20231207-mbly-uart-v6-5-e384afa5e78c@bootlin.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/greybus')
0 files changed, 0 insertions, 0 deletions