diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:21 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:21 +0200 |
commit | 05e6cc68afbe445382ab201b2b29ff0fcddec0be (patch) | |
tree | e308877157a72ec434c9cc4b3dce04eb4da1915b /drivers/char | |
parent | 394b3d078dfe0e7fbd4507cb2382de6736f70cb2 (diff) | |
download | linux-05e6cc68afbe445382ab201b2b29ff0fcddec0be.tar.gz linux-05e6cc68afbe445382ab201b2b29ff0fcddec0be.tar.bz2 linux-05e6cc68afbe445382ab201b2b29ff0fcddec0be.zip |
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: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/tpm/tpm_atmel.c | 1 | ||||
-rw-r--r-- | drivers/char/tpm/tpm_nsc.c | 1 | ||||
-rw-r--r-- | drivers/char/tpm/tpm_tis.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/tpm/tpm_atmel.c b/drivers/char/tpm/tpm_atmel.c index 6069d13ae4ac..435c8b9dd2f8 100644 --- a/drivers/char/tpm/tpm_atmel.c +++ b/drivers/char/tpm/tpm_atmel.c @@ -152,7 +152,6 @@ static SIMPLE_DEV_PM_OPS(tpm_atml_pm, tpm_pm_suspend, tpm_pm_resume); static struct platform_driver atml_drv = { .driver = { .name = "tpm_atmel", - .owner = THIS_MODULE, .pm = &tpm_atml_pm, }, }; diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c index 3179ec9cffdc..4d0a17ea8cde 100644 --- a/drivers/char/tpm/tpm_nsc.c +++ b/drivers/char/tpm/tpm_nsc.c @@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(tpm_nsc_pm, tpm_pm_suspend, tpm_pm_resume); static struct platform_driver nsc_drv = { .driver = { .name = "tpm_nsc", - .owner = THIS_MODULE, .pm = &tpm_nsc_pm, }, }; diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c index 2c46734b266d..6f1985496112 100644 --- a/drivers/char/tpm/tpm_tis.c +++ b/drivers/char/tpm/tpm_tis.c @@ -837,7 +837,6 @@ MODULE_PARM_DESC(hid, "Set additional specific HID for this driver to probe"); static struct platform_driver tis_drv = { .driver = { .name = "tpm_tis", - .owner = THIS_MODULE, .pm = &tpm_tis_pm, }, }; |