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/quatech2.c | |
parent | USB: serial: set driver owner when registering drivers (diff) | |
download | linux-6d243588e95ec221e533cc749106aaefaea27486.tar.xz 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/quatech2.c')
-rw-r--r-- | drivers/usb/serial/quatech2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/quatech2.c b/drivers/usb/serial/quatech2.c index 821f25e52ec2..4167a45d1be3 100644 --- a/drivers/usb/serial/quatech2.c +++ b/drivers/usb/serial/quatech2.c @@ -924,7 +924,6 @@ write_out: static struct usb_serial_driver qt2_device = { .driver = { - .owner = THIS_MODULE, .name = "quatech-serial", }, .description = DRIVER_DESC, |