From e07bf16bfda84f7bac83b6e8c6f4a5805249e6f5 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Tue, 21 Feb 2023 23:03:25 +0200 Subject: [PATCH] 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 --- examples/devicemodel.c | 1 - 1 file changed, 1 deletion(-) 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, -- 2.39.5