lkml.org 
[lkml]   [2018]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] staging: mt7621-gpio: remove redundant owner assignments of drivers
    Date
    From: HariPrasath Elango <hariprasath.elango@gmail.com>

    Remove the reduntant owner initialization from this platform driver as
    the platform_driver_register() takes care of it.

    Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
    ---
    drivers/staging/mt7621-gpio/gpio-mt7621.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c
    index 5c57abe..830d429 100644
    --- a/drivers/staging/mt7621-gpio/gpio-mt7621.c
    +++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c
    @@ -339,7 +339,6 @@ static struct platform_driver mediatek_gpio_driver = {
    .probe = mediatek_gpio_probe,
    .driver = {
    .name = "mt7621_gpio",
    - .owner = THIS_MODULE,
    .of_match_table = mediatek_gpio_match,
    },
    };
    --
    2.10.0.GIT
    \
     
     \ /
      Last update: 2018-03-20 08:46    [W:3.986 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site