linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Joshua Kinard <kumba@gentoo.org>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: drivers/rtc/rtc-ds1685.c:2144:3-8: No need to set .owner here. The core will do it.
Date: Mon, 2 Mar 2015 02:16:08 +0800	[thread overview]
Message-ID: <201503020206.bGFVliQR%fengguang.wu@intel.com> (raw)

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ae1aa797e0ace9bbce055e31de1f641e422a082a
commit: aaaf5fbf56f16c81a653713cc333b18ad6e25ea9 rtc: add driver for DS1685 family of real time clocks
date:   13 days ago


coccinelle warnings: (new ones prefixed by >>)

>> drivers/rtc/rtc-ds1685.c:2144:3-8: No need to set .owner here. The core will do it.

vim +2144 drivers/rtc/rtc-ds1685.c

  2128		/* Manually clear RF/WF/KF in Ctrl 4A. */
  2129		rtc->write(rtc, RTC_EXT_CTRL_4A,
  2130			   (rtc->read(rtc, RTC_EXT_CTRL_4A) &
  2131			    ~(RTC_CTRL_4A_RWK_MASK)));
  2132	
  2133		cancel_work_sync(&rtc->work);
  2134	
  2135		return 0;
  2136	}
  2137	
  2138	/**
  2139	 * ds1685_rtc_driver - rtc driver properties.
  2140	 */
  2141	static struct platform_driver ds1685_rtc_driver = {
  2142		.driver		= {
  2143			.name	= "rtc-ds1685",
> 2144			.owner	= THIS_MODULE,
  2145		},
  2146		.probe		= ds1685_rtc_probe,
  2147		.remove		= ds1685_rtc_remove,
  2148	};
  2149	
  2150	/**
  2151	 * ds1685_rtc_init - rtc module init.
  2152	 */

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

                 reply	other threads:[~2015-03-01 18:16 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=201503020206.bGFVliQR%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@01.org \
    --cc=kumba@gentoo.org \
    --cc=linux-mm@kvack.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox