summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/spcp8x5.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/spcp8x5.c
parentaf8a6e65f42c6c89414017cc4d78403e83056172 (diff)
downloadlinux-next-6d243588e95ec221e533cc749106aaefaea27486.tar.gz
linux-next-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/spcp8x5.c')
-rw-r--r--drivers/usb/serial/spcp8x5.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c
index 6b294bf8bc43..11077beb7232 100644
--- a/drivers/usb/serial/spcp8x5.c
+++ b/drivers/usb/serial/spcp8x5.c
@@ -452,7 +452,6 @@ static int spcp8x5_tiocmget(struct tty_struct *tty)
static struct usb_serial_driver spcp8x5_device = {
.driver = {
- .owner = THIS_MODULE,
.name = "SPCP8x5",
},
.id_table = id_table,