From: Andy Shevchenko Date: Tue, 21 Feb 2023 21:03:25 +0000 (+0200) Subject: devicemodel: Remove duplicate owner assignment X-Git-Tag: latest~37^2~2 X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=e07bf16bfda84f7bac83b6e8c6f4a5805249e6f5;p=lkmpg 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 --- diff --git a/examples/devicemodel.c b/examples/devicemodel.c index f2d97dc..6fe923e 100644 --- a/examples/devicemodel.c +++ b/examples/devicemodel.c @@ -63,7 +63,6 @@ static struct platform_driver devicemodel_driver = { .driver = { .name = "devicemodel_example", - .owner = THIS_MODULE, .pm = &devicemodel_pm_ops, }, .probe = devicemodel_probe,