summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm_atmel.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:21 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:21 +0400
commit05e6cc68afbe445382ab201b2b29ff0fcddec0be (patch)
treee308877157a72ec434c9cc4b3dce04eb4da1915b /drivers/char/tpm/tpm_atmel.c
parent394b3d078dfe0e7fbd4507cb2382de6736f70cb2 (diff)
downloadlinux-05e6cc68afbe445382ab201b2b29ff0fcddec0be.tar.xz
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/tpm/tpm_atmel.c')
-rw-r--r--drivers/char/tpm/tpm_atmel.c1
1 files changed, 0 insertions, 1 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,
},
};