cpufreq: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 Dec 2014 21:14:26 +0000 (22:14 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:19:15 +0000 (22:19 +0100)
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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/ls1x-cpufreq.c

index 25fbd6a1374fc7db998d1238823c20bc3b5c7280..f0913eee2f5007a2ba8ca5ee7b1adea21bfc8215 100644 (file)
@@ -210,7 +210,6 @@ out:
 static struct platform_driver ls1x_cpufreq_platdrv = {
        .driver = {
                .name   = "ls1x-cpufreq",
-               .owner  = THIS_MODULE,
        },
        .probe          = ls1x_cpufreq_probe,
        .remove         = ls1x_cpufreq_remove,