]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: fbtft: remove redundant .owner
authorHeba Aamer <heba93aamer@gmail.com>
Wed, 28 Jan 2015 13:29:05 +0000 (15:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jan 2015 19:28:44 +0000 (11:28 -0800)
This patch fixes the following coccicheck warning:
No need to set .owner here. The core will do it.

Signed-off-by: Heba Aamer <heba93aamer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/flexfb.c

index 4eec888a45b0b390fd7dbf8287bd71bb3aface22..90832c36e557e7e122001547344310549c426fd9 100644 (file)
@@ -559,7 +559,6 @@ static const struct platform_device_id flexfb_platform_ids[] = {
 static struct platform_driver flexfb_platform_driver = {
        .driver = {
                .name   = DRVNAME,
-               .owner  = THIS_MODULE,
        },
        .id_table = flexfb_platform_ids,
        .probe  = flexfb_probe_pdev,