platform: chrome: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:26 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:26 +0000 (16:21 +0200)
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>
drivers/platform/chrome/chromeos_laptop.c

index d866db80b4fdfdf36d48ec02827d2578870778fe..b84fdd6b629bc678281076df59586e460d0fc850 100644 (file)
@@ -571,7 +571,6 @@ static struct platform_device *cros_platform_device;
 static struct platform_driver cros_platform_driver = {
        .driver = {
                .name = "chromeos_laptop",
-               .owner = THIS_MODULE,
        },
        .probe = chromeos_laptop_probe,
 };
This page took 0.026504 seconds and 5 git commands to generate.