aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:26 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:26 -0400
commit38c53fa8f0b2bdf4e534a24bd224e4480d8d9dc4 (patch)
tree68ba6803a84981c68846f69e4539452a086cb3f9 /drivers/platform
parente129b04ece0d0486ce7179b394d4c95ced347f93 (diff)
platform: chrome: 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/platform')
-rw-r--r--drivers/platform/chrome/chromeos_laptop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
index d866db80b4fd..b84fdd6b629b 100644
--- a/drivers/platform/chrome/chromeos_laptop.c
+++ b/drivers/platform/chrome/chromeos_laptop.c
@@ -571,7 +571,6 @@ static struct platform_device *cros_platform_device;
571static struct platform_driver cros_platform_driver = { 571static struct platform_driver cros_platform_driver = {
572 .driver = { 572 .driver = {
573 .name = "chromeos_laptop", 573 .name = "chromeos_laptop",
574 .owner = THIS_MODULE,
575 }, 574 },
576 .probe = chromeos_laptop_probe, 575 .probe = chromeos_laptop_probe,
577}; 576};