Skip to content

Commit e07bf16

Browse files
committed
devicemodel: Remove duplicate owner assignment
platform_driver_register() macro already does the correct assignment for the owner of the driver. Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 53f4b4c commit e07bf16

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/devicemodel.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ static struct platform_driver devicemodel_driver = {
6363
.driver =
6464
{
6565
.name = "devicemodel_example",
66-
.owner = THIS_MODULE,
6766
.pm = &devicemodel_pm_ops,
6867
},
6968
.probe = devicemodel_probe,

0 commit comments

Comments
 (0)