diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-05-03 12:10:53 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2024-08-26 15:28:25 +0200 |
commit | 6d243588e95ec221e533cc749106aaefaea27486 (patch) | |
tree | f8a22136a1a03f05eb643f5673cc508329efe888 /drivers/usb/serial/ftdi_sio.c | |
parent | af8a6e65f42c6c89414017cc4d78403e83056172 (diff) | |
download | lwn-6d243588e95ec221e533cc749106aaefaea27486.tar.gz lwn-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/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 76a04ab41100..c6f17d732b95 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -2871,7 +2871,6 @@ static int ftdi_ioctl(struct tty_struct *tty, static struct usb_serial_driver ftdi_device = { .driver = { - .owner = THIS_MODULE, .name = "ftdi_sio", .dev_groups = ftdi_groups, }, |