linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* drivers/rtc/rtc-ds1685.c:2144:3-8: No need to set .owner here. The core will do it.
@ 2015-03-01 18:16 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-03-01 18:16 UTC (permalink / raw)
  To: Joshua Kinard; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List

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>

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

only message in thread, other threads:[~2015-03-01 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-01 18:16 drivers/rtc/rtc-ds1685.c:2144:3-8: No need to set .owner here. The core will do it kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox