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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]