kernel_optimize_test/drivers/rtc
Anatolij Gustschin 73737b8787 drivers/rtc/rtc-r9701.c: fix crash in r9701_remove()
If probing the RTC didn't succeed due to failed RTC register access, the
RTC device will be unregistered.  Then, when removing the module
r9701_remove() causes a kernel crash while trying to unregister a not
registered RTC device.  Fix this by doing RTC register access test before
RTC device registration.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-03-05 15:49:43 -08:00
..
class.c Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2011-12-05 16:53:43 -08:00
hctosys.c
interface.c drivers/rtc/interface.c: fix alarm rollover when day or month is out-of-range 2012-01-10 16:30:53 -08:00
Kconfig Revert "RTC: sa1100: support sa1100, pxa and mmp soc families" 2012-01-19 17:19:18 +00:00
Makefile
rtc-88pm860x.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-ab3100.c
rtc-ab8500.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 2012-01-13 20:43:32 -08:00
rtc-at32ap700x.c
rtc-at91rm9200.c ARM: at91: make rm9200 rtc drivers soc independent 2011-11-28 22:50:39 +08:00
rtc-at91sam9.c ARM: at91:rtc/rtc-at91sam9: ioremap register bank 2012-02-13 18:31:36 +01:00
rtc-au1xxx.c
rtc-bfin.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-bq32k.c
rtc-bq4802.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-cmos.c drivers/rtc/rtc-cmos.c: fix broken NVRAM bank 2 writing 2012-01-10 16:30:52 -08:00
rtc-coh901331.c
rtc-core.h
rtc-davinci.c
rtc-dev.c
rtc-dm355evm.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-ds1216.c
rtc-ds1286.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-ds1302.c
rtc-ds1305.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00
rtc-ds1307.c rtc: add initial support for mcp7941x parts 2011-11-02 16:06:58 -07:00
rtc-ds1374.c
rtc-ds1390.c
rtc-ds1511.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-ds1553.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-ds1672.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00
rtc-ds1742.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-ds3232.c
rtc-ds3234.c
rtc-efi.c
rtc-em3027.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00
rtc-ep93xx.c
rtc-fm3130.c
rtc-generic.c
rtc-imxdi.c
rtc-isl1208.c
rtc-isl12022.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00
rtc-jz4740.c drivers/rtc/rtc-jz4740.c: make jz4740_rtc_driver static 2012-01-10 16:30:53 -08:00
rtc-lib.c
rtc-lpc32xx.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-m41t80.c rtc: m41t80: Workaround broken alarm functionality 2011-12-13 12:26:24 -08:00
rtc-m41t93.c drivers/rtc/: remove redundant spi driver bus initialization 2012-01-10 16:30:53 -08:00
rtc-m41t94.c drivers/rtc/: remove redundant spi driver bus initialization 2012-01-10 16:30:53 -08:00
rtc-m48t35.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-m48t59.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-m48t86.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-max6900.c
rtc-max6902.c drivers/rtc/: remove redundant spi driver bus initialization 2012-01-10 16:30:53 -08:00
rtc-max8925.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 2012-01-13 20:43:32 -08:00
rtc-max8998.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-mc13xxx.c drivers/rtc/rtc-mc13xxx.c: make mc13xxx_rtc_idtable static 2012-01-10 16:30:53 -08:00
rtc-mpc5121.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-mrst.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-msm6242.c
rtc-mv.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00
rtc-mxc.c drivers/rtc/rtc-mxc.c: make alarm work 2012-01-10 16:30:52 -08:00
rtc-nuc900.c
rtc-omap.c
rtc-pcap.c
rtc-pcf2123.c drivers/rtc/: remove redundant spi driver bus initialization 2012-01-10 16:30:53 -08:00
rtc-pcf8563.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00
rtc-pcf8583.c
rtc-pcf50633.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-pl030.c rtc: pl030: Enable module alias autogeneration for AMBA drivers 2011-11-22 10:58:31 +00:00
rtc-pl031.c rtc: pl031: Enable module alias autogeneration for AMBA drivers 2011-11-22 10:58:32 +00:00
rtc-pm8xxx.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-proc.c
rtc-ps3.c
rtc-puv3.c rtc-puv3: solve section mismatch in rtc-puv3.c 2012-01-10 10:29:42 +08:00
rtc-pxa.c
rtc-r9701.c drivers/rtc/rtc-r9701.c: fix crash in r9701_remove() 2012-03-05 15:49:43 -08:00
rtc-rp5c01.c
rtc-rs5c313.c
rtc-rs5c348.c drivers/rtc/: remove redundant spi driver bus initialization 2012-01-10 16:30:53 -08:00
rtc-rs5c372.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00
rtc-rv3029c2.c
rtc-rx8025.c
rtc-rx8581.c
rtc-s3c.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-s35390a.c
rtc-sa1100.c Revert "RTC: sa1100: remove redundant code of setting alarm" 2012-01-19 17:26:26 +00:00
rtc-sh.c
rtc-spear.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-starfire.c
rtc-stk17ta8.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-stmp3xxx.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-sun4v.c
rtc-sysfs.c
rtc-tegra.c
rtc-test.c
rtc-tile.c
rtc-twl.c drivers/rtc/rtc-twl.c: add DT support for RTC inside twl4030/twl6030 2012-01-10 16:30:53 -08:00
rtc-tx4939.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00
rtc-v3020.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-vr41xx.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-vt8500.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-wm831x.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-wm8350.c rtc: convert drivers/rtc/* to use module_platform_driver() 2012-01-10 16:30:53 -08:00
rtc-x1205.c rtc: Add module.h to implicit users in drivers/rtc 2011-10-31 19:31:28 -04:00