From: Johan Hovold <johan@kernel.org>
To: Johan Hovold <johan@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/8] USB: serial: clean up include directives
Date: Mon, 11 May 2026 09:14:40 +0200 [thread overview]
Message-ID: <20260511071448.611875-1-johan@kernel.org> (raw)
Include directives tend to be copied from existing drivers when new
drivers are written. Clean up the driver include directives to avoid
having to point out unnecessary includes when reviewing new drivers.
Johan
Johan Hovold (8):
USB: serial: drop unused tty_driver includes
USB: serial: drop unused tty_flip includes
USB: serial: xr: add missing uaccess include
USB: serial: drop unused uaccess includes
USB: serial: drop unused moduleparam includes
USB: serial: garmin_gps: drop unused atomic include
USB: serial: add missing atomic includes
USB: serial: whiteheat: drop termbits include
drivers/usb/serial/ark3116.c | 1 -
drivers/usb/serial/belkin_sa.c | 2 --
drivers/usb/serial/cyberjack.c | 2 --
drivers/usb/serial/cypress_m8.c | 2 --
drivers/usb/serial/digi_acceleport.c | 2 --
drivers/usb/serial/empeg.c | 3 ---
drivers/usb/serial/f81232.c | 3 ---
drivers/usb/serial/f81534.c | 1 -
drivers/usb/serial/ftdi_sio.c | 1 -
drivers/usb/serial/garmin_gps.c | 3 ---
drivers/usb/serial/generic.c | 1 -
drivers/usb/serial/io_edgeport.c | 2 +-
drivers/usb/serial/io_ti.c | 2 --
drivers/usb/serial/ipaq.c | 3 ---
drivers/usb/serial/ipw.c | 2 --
drivers/usb/serial/ir-usb.c | 2 --
drivers/usb/serial/iuu_phoenix.c | 2 --
drivers/usb/serial/keyspan.c | 2 --
drivers/usb/serial/keyspan_pda.c | 2 --
drivers/usb/serial/kl5kusb105.c | 2 --
drivers/usb/serial/kobil_sct.c | 2 --
drivers/usb/serial/mct_u232.c | 2 --
drivers/usb/serial/metro-usb.c | 3 ---
drivers/usb/serial/mos7720.c | 3 ++-
drivers/usb/serial/mos7840.c | 1 -
drivers/usb/serial/mxuport.c | 2 --
drivers/usb/serial/omninet.c | 2 --
drivers/usb/serial/opticon.c | 2 --
drivers/usb/serial/option.c | 1 -
drivers/usb/serial/oti6858.c | 3 ---
drivers/usb/serial/pl2303.c | 3 ---
drivers/usb/serial/qcserial.c | 1 -
drivers/usb/serial/quatech2.c | 2 --
drivers/usb/serial/safe_serial.c | 2 --
drivers/usb/serial/spcp8x5.c | 2 --
drivers/usb/serial/ssu100.c | 2 --
drivers/usb/serial/symbolserial.c | 2 --
drivers/usb/serial/ti_usb_3410_5052.c | 2 --
drivers/usb/serial/usb-serial.c | 3 ---
drivers/usb/serial/usb_wwan.c | 1 -
drivers/usb/serial/visor.c | 4 ----
drivers/usb/serial/whiteheat.c | 4 ----
drivers/usb/serial/wishbone-serial.c | 1 -
drivers/usb/serial/xr_serial.c | 1 +
drivers/usb/serial/xsens_mt.c | 1 -
45 files changed, 4 insertions(+), 88 deletions(-)
--
2.53.0
next reply other threads:[~2026-05-11 7:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 7:14 Johan Hovold [this message]
2026-05-11 7:14 ` [PATCH 1/8] USB: serial: drop unused tty_driver includes Johan Hovold
2026-05-11 7:14 ` [PATCH 2/8] USB: serial: drop unused tty_flip includes Johan Hovold
2026-05-11 7:14 ` [PATCH 3/8] USB: serial: xr: add missing uaccess include Johan Hovold
2026-05-11 7:14 ` [PATCH 4/8] USB: serial: drop unused uaccess includes Johan Hovold
2026-05-11 7:14 ` [PATCH 5/8] USB: serial: drop unused moduleparam includes Johan Hovold
2026-05-11 7:14 ` [PATCH 6/8] USB: serial: garmin_gps: drop unused atomic include Johan Hovold
2026-05-11 7:14 ` [PATCH 7/8] USB: serial: add missing atomic includes Johan Hovold
2026-05-11 7:14 ` [PATCH 8/8] USB: serial: whiteheat: drop termbits include Johan Hovold
2026-05-11 7:29 ` [PATCH 0/8] USB: serial: clean up include directives Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260511071448.611875-1-johan@kernel.org \
--to=johan@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox