aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/serial/usb_debug.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-05-03 12:10:53 +0200
committerJohan Hovold <johan@kernel.org>2024-08-26 15:28:25 +0200
commit6d243588e95ec221e533cc749106aaefaea27486 (patch)
treef8a22136a1a03f05eb643f5673cc508329efe888 /drivers/usb/serial/usb_debug.c
parentUSB: serial: set driver owner when registering drivers (diff)
downloadwireguard-linux-6d243588e95ec221e533cc749106aaefaea27486.tar.xz
wireguard-linux-6d243588e95ec221e533cc749106aaefaea27486.zip
USB: serial: drop driver owner initialization
Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/usb_debug.c')
-rw-r--r--drivers/usb/serial/usb_debug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c
index 61a8425b7762..ec9fff794b36 100644
--- a/drivers/usb/serial/usb_debug.c
+++ b/drivers/usb/serial/usb_debug.c
@@ -83,7 +83,6 @@ static void usb_debug_init_termios(struct tty_struct *tty)
static struct usb_serial_driver debug_device = {
.driver = {
- .owner = THIS_MODULE,
.name = "debug",
},
.id_table = id_table,
@@ -96,7 +95,6 @@ static struct usb_serial_driver debug_device = {
static struct usb_serial_driver dbc_device = {
.driver = {
- .owner = THIS_MODULE,
.name = "xhci_dbc",
},
.id_table = dbc_id_table,