Commit 05e6cc68 authored by Wolfram Sang's avatar Wolfram Sang

char: tpm: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 394b3d07
...@@ -152,7 +152,6 @@ static SIMPLE_DEV_PM_OPS(tpm_atml_pm, tpm_pm_suspend, tpm_pm_resume); ...@@ -152,7 +152,6 @@ static SIMPLE_DEV_PM_OPS(tpm_atml_pm, tpm_pm_suspend, tpm_pm_resume);
static struct platform_driver atml_drv = { static struct platform_driver atml_drv = {
.driver = { .driver = {
.name = "tpm_atmel", .name = "tpm_atmel",
.owner = THIS_MODULE,
.pm = &tpm_atml_pm, .pm = &tpm_atml_pm,
}, },
}; };
......
...@@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(tpm_nsc_pm, tpm_pm_suspend, tpm_pm_resume); ...@@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(tpm_nsc_pm, tpm_pm_suspend, tpm_pm_resume);
static struct platform_driver nsc_drv = { static struct platform_driver nsc_drv = {
.driver = { .driver = {
.name = "tpm_nsc", .name = "tpm_nsc",
.owner = THIS_MODULE,
.pm = &tpm_nsc_pm, .pm = &tpm_nsc_pm,
}, },
}; };
......
...@@ -837,7 +837,6 @@ MODULE_PARM_DESC(hid, "Set additional specific HID for this driver to probe"); ...@@ -837,7 +837,6 @@ MODULE_PARM_DESC(hid, "Set additional specific HID for this driver to probe");
static struct platform_driver tis_drv = { static struct platform_driver tis_drv = {
.driver = { .driver = {
.name = "tpm_tis", .name = "tpm_tis",
.owner = THIS_MODULE,
.pm = &tpm_tis_pm, .pm = &tpm_tis_pm,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment