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/pl2303.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/pl2303.c')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index d93f5d584557..9e3b524a2e7b 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c @@ -1234,7 +1234,6 @@ static void pl2303_process_read_urb(struct urb *urb) static struct usb_serial_driver pl2303_device = { .driver = { - .owner = THIS_MODULE, .name = "pl2303", }, .id_table = id_table, |