All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: fbtft: remove redundant .owner
@ 2015-01-28 13:29 Heba Aamer
  0 siblings, 0 replies; only message in thread
From: Heba Aamer @ 2015-01-28 13:29 UTC (permalink / raw)
  To: devel; +Cc: thomas.petazzoni, noralf, gregkh, linux-kernel

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>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-28 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 13:29 [PATCH] staging: fbtft: remove redundant .owner Heba Aamer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.