[PATCH v2 0/4] USB: serial: Fix coccinelle warnings

From: Mathieu OTHACEHE
Date: Thu Feb 04 2016 - 13:02:18 EST


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

V2:
* Squash patches per type of issues reported by coccinelle

Mathieu OTHACEHE (4):
USB: serial: fix compare_const_fl.cocci warnings
USB: serial: fix returnvar.cocci warnings
USB: serial: fix boolinit.cocci warnings
USB: serial: fix semicolon.cocci warnings

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