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 4eec888..90832c3 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,