Commit 7b5a0fa4 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman

usb: typec: nvidia: drop driver owner assignment

Core in typec_altmode_register_driver() already sets the .owner, so
driver does not need to.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240331091737.19836-2-krzk@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6f729457
...@@ -35,7 +35,6 @@ static struct typec_altmode_driver nvidia_altmode_driver = { ...@@ -35,7 +35,6 @@ static struct typec_altmode_driver nvidia_altmode_driver = {
.remove = nvidia_altmode_remove, .remove = nvidia_altmode_remove,
.driver = { .driver = {
.name = "typec_nvidia", .name = "typec_nvidia",
.owner = THIS_MODULE,
}, },
}; };
module_typec_altmode_driver(nvidia_altmode_driver); module_typec_altmode_driver(nvidia_altmode_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment