Message ID | 20240331091737.19836-3-krzk@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | db2ed6ec11a887dabffef0d5354e32902b704047 |
Headers | show |
Series | [v2,1/3] usb: phy: fsl-usb: drop driver owner assignment | expand |
On Sun, Mar 31, 2024 at 11:17:37AM +0200, Krzysztof Kozlowski wrote: > Core in typec_altmode_register_driver() already sets the .owner, so > driver does not need to. > > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> > --- > > Changes in v2: > 1. New patch > --- > drivers/usb/typec/altmodes/displayport.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c > index 038dc51f429d..596cd4806018 100644 > --- a/drivers/usb/typec/altmodes/displayport.c > +++ b/drivers/usb/typec/altmodes/displayport.c > @@ -802,7 +802,6 @@ static struct typec_altmode_driver dp_altmode_driver = { > .remove = dp_altmode_remove, > .driver = { > .name = "typec_displayport", > - .owner = THIS_MODULE, > .dev_groups = displayport_groups, > }, > }; > -- > 2.34.1
diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c index 038dc51f429d..596cd4806018 100644 --- a/drivers/usb/typec/altmodes/displayport.c +++ b/drivers/usb/typec/altmodes/displayport.c @@ -802,7 +802,6 @@ static struct typec_altmode_driver dp_altmode_driver = { .remove = dp_altmode_remove, .driver = { .name = "typec_displayport", - .owner = THIS_MODULE, .dev_groups = displayport_groups, }, };
Core in typec_altmode_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> --- Changes in v2: 1. New patch --- drivers/usb/typec/altmodes/displayport.c | 1 - 1 file changed, 1 deletion(-)