diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:37 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:37 -0400 |
commit | a7629c70d0ffd5ea12e681f0dd168d03ff3b60ec (patch) | |
tree | 5e3e4ad400d9d54d37d365a3fc54560bc6ae816c /drivers/hwspinlock | |
parent | 2a1ed077189a38bccf39cb00d8dca96d20a49463 (diff) |
hwspinlock: 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/hwspinlock')
-rw-r--r-- | drivers/hwspinlock/omap_hwspinlock.c | 1 | ||||
-rw-r--r-- | drivers/hwspinlock/u8500_hsem.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hwspinlock/omap_hwspinlock.c b/drivers/hwspinlock/omap_hwspinlock.c index c1e2cd4d85fe..47a275c6ece1 100644 --- a/drivers/hwspinlock/omap_hwspinlock.c +++ b/drivers/hwspinlock/omap_hwspinlock.c | |||
@@ -179,7 +179,6 @@ static struct platform_driver omap_hwspinlock_driver = { | |||
179 | .remove = omap_hwspinlock_remove, | 179 | .remove = omap_hwspinlock_remove, |
180 | .driver = { | 180 | .driver = { |
181 | .name = "omap_hwspinlock", | 181 | .name = "omap_hwspinlock", |
182 | .owner = THIS_MODULE, | ||
183 | }, | 182 | }, |
184 | }; | 183 | }; |
185 | 184 | ||
diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c index 401c33bcdb45..e93eabbd660f 100644 --- a/drivers/hwspinlock/u8500_hsem.c +++ b/drivers/hwspinlock/u8500_hsem.c | |||
@@ -175,7 +175,6 @@ static struct platform_driver u8500_hsem_driver = { | |||
175 | .remove = u8500_hsem_remove, | 175 | .remove = u8500_hsem_remove, |
176 | .driver = { | 176 | .driver = { |
177 | .name = "u8500_hsem", | 177 | .name = "u8500_hsem", |
178 | .owner = THIS_MODULE, | ||
179 | }, | 178 | }, |
180 | }; | 179 | }; |
181 | 180 | ||