]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/usb/serial/ftdi_sio.c
USB: serial: fix compare_const_fl.cocci warnings
authorMathieu OTHACEHE <m.othacehe@gmail.com>
Thu, 4 Feb 2016 18:01:27 +0000 (19:01 +0100)
committerJohan Hovold <johan@kernel.org>
Sun, 28 Feb 2016 13:35:58 +0000 (14:35 +0100)
commitfb571101af6338962691c79d149c517cf660f49a
tree78a5bc537e079175e33abbcb9dae24508784047a
parent81f70ba233d5f660e1ea5fe23260ee323af5d53a
USB: serial: fix compare_const_fl.cocci warnings

Move constants to the right of binary operators where it increases
readability.

Generated by: scripts/coccinelle/misc/compare_const_fl.cocci

Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
[johan: drop some chunks and fix others, amend commit message ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ch341.c
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio.h
drivers/usb/serial/garmin_gps.c