lkml.org 
[lkml]   [2014]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 05/28] cpufreq: drop owner assignment from platform_drivers
    From
    On 22 December 2014 at 02:44, Wolfram Sang <wsa@the-dreams.de> wrote:
    > 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>
    > ---
    > Generated with coccinelle. SmPL file is in the introductory msg. The big
    > cleanup was pulled in this merge window. This series catches the bits fallen
    > through. The patches shall go in via the subsystem trees.
    >
    > drivers/cpufreq/ls1x-cpufreq.c | 1 -
    > 1 file changed, 1 deletion(-)
    >
    > diff --git a/drivers/cpufreq/ls1x-cpufreq.c b/drivers/cpufreq/ls1x-cpufreq.c
    > index 25fbd6a1374f..f0913eee2f50 100644
    > --- a/drivers/cpufreq/ls1x-cpufreq.c
    > +++ b/drivers/cpufreq/ls1x-cpufreq.c
    > @@ -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,

    Acked-by: Viresh Kumar <viresh.kumar@linaro.org>


    \
     
     \ /
      Last update: 2014-12-22 03:21    [W:4.027 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site