[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150128132905.GA11672@mohammed-Inspiron-3537>
Date: Wed, 28 Jan 2015 15:29:05 +0200
From: Heba Aamer <heba93aamer@...il.com>
To: devel@...verdev.osuosl.org
Cc: thomas.petazzoni@...e-electrons.com, noralf@...nnes.org,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org
Subject: [PATCH] staging: fbtft: remove redundant .owner
This patch fixes the following coccicheck warning:
No need to set .owner here. The core will do it.
Signed-off-by: Heba Aamer <heba93aamer@...il.com>
---
drivers/staging/fbtft/flexfb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/fbtft/flexfb.c b/drivers/staging/fbtft/flexfb.c
index 45574a0..3f21cd2 100644
--- a/drivers/staging/fbtft/flexfb.c
+++ b/drivers/staging/fbtft/flexfb.c
@@ -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,
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists