thermal: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 Dec 2014 21:14:39 +0000 (22:14 +0100)
committerZhang Rui <rui.zhang@intel.com>
Mon, 22 Dec 2014 03:05:59 +0000 (11:05 +0800)
This 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/thermal/rockchip_thermal.c

index 1bcddfc60e915e9e6f97594671076330af4adb5a..9c6ce548e36312f95ca49f6352cf4999a1ab0fe0 100644 (file)
@@ -677,7 +677,6 @@ static SIMPLE_DEV_PM_OPS(rockchip_thermal_pm_ops,
 static struct platform_driver rockchip_thermal_driver = {
        .driver = {
                .name = "rockchip-thermal",
-               .owner = THIS_MODULE,
                .pm = &rockchip_thermal_pm_ops,
                .of_match_table = of_rockchip_thermal_match,
        },
This page took 0.026019 seconds and 5 git commands to generate.