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/tpm/tpm_nsc.c | |
parent | 394b3d078dfe0e7fbd4507cb2382de6736f70cb2 (diff) | |
download | linux-05e6cc68afbe445382ab201b2b29ff0fcddec0be.tar.bz2 |
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_nsc.c')
-rw-r--r-- | drivers/char/tpm/tpm_nsc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, }, }; |