LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Heba Aamer <heba93aamer@gmail.com>
To: devel@driverdev.osuosl.org
Cc: thomas.petazzoni@free-electrons.com, noralf@tronnes.org,
	gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: fbtft: remove redundant .owner
Date: Wed, 28 Jan 2015 15:29:05 +0200	[thread overview]
Message-ID: <20150128132905.GA11672@mohammed-Inspiron-3537> (raw)

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


                 reply	other threads:[~2015-01-28 21:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150128132905.GA11672@mohammed-Inspiron-3537 \
    --to=heba93aamer@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=noralf@tronnes.org \
    --cc=thomas.petazzoni@free-electrons.com \
    --subject='Re: [PATCH] staging: fbtft: remove redundant .owner' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).