[PATCH 00/14] USB: serial: Fix coccinelle warnings

From: Mathieu OTHACEHE
Date: Sat Jan 30 2016 - 12:45:10 EST


This series of patches fixes all coccinelle warnings in
USB serial subsystem

Mathieu OTHACEHE (14):
USB: serial: safe_serial: fix assignment of bool to 0/1
USB: serial: safe_serial: fix assignment of bool to non 0/1 constant
USB: serial: quatech2: remove comparison to bool
USB: serial: iuu_phoenix: remove comparison of bool
USB: serial: mos7840: remove comparison to bool
USB: serial: garmin_gps: move constants to right
USB: serial: ftdi_sio: move constants to right
USB: serial: keyspan: remove unused semicolon
USB: serial: cyberjack: remove unneeded variable
USB: serial: garmin_gps: remove unneeded variable
USB: serial: mos7840: move constants to right
USB: serial: ch341: move constants to right
USB: serial: f81232: move constants to right
USB: serial: kl5kusb105: remove unneeded semicolons

drivers/usb/serial/ch341.c | 2 +-
drivers/usb/serial/cyberjack.c | 3 +--
drivers/usb/serial/f81232.c | 2 +-
drivers/usb/serial/ftdi_sio.c | 16 ++++++-------
drivers/usb/serial/ftdi_sio.h | 8 +++----
drivers/usb/serial/garmin_gps.c | 51 ++++++++++++++++++++--------------------
drivers/usb/serial/iuu_phoenix.c | 4 ++--
drivers/usb/serial/keyspan.c | 2 +-
drivers/usb/serial/kl5kusb105.c | 3 ---
drivers/usb/serial/mos7840.c | 8 +++----
drivers/usb/serial/quatech2.c | 2 +-
drivers/usb/serial/safe_serial.c | 11 +++------
12 files changed, 51 insertions(+), 61 deletions(-)

--
2.6.4