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 <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
53f4b4c640
commit
e07bf16bfd
@ -63,7 +63,6 @@ static struct platform_driver devicemodel_driver = {
|
|||||||
.driver =
|
.driver =
|
||||||
{
|
{
|
||||||
.name = "devicemodel_example",
|
.name = "devicemodel_example",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &devicemodel_pm_ops,
|
.pm = &devicemodel_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = devicemodel_probe,
|
.probe = devicemodel_probe,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user