On Wed, Apr 18 2018, Christian Lütke-Stetzkamp wrote: > Remove the owner assignment form the platform driver as > platform_driver_register() already initializes the owner. > Found using coccinelle. > > Signed-off-by: Christian Lütke-Stetzkamp <christian@xxxxxxxx> Reviewed-by: NeilBrown <neil@xxxxxxxxxx> Thanks, NeilBrown > --- > drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c > index 3d2d1c2a006f..2d9ab2620b82 100644 > --- a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c > +++ b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c > @@ -459,7 +459,6 @@ static struct platform_driver rt2880_pinmux_driver = { > .probe = rt2880_pinmux_probe, > .driver = { > .name = "rt2880-pinmux", > - .owner = THIS_MODULE, > .of_match_table = rt2880_pinmux_match, > }, > }; > -- > 2.16.1
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel