diff options
| author | David Woodhouse <David.Woodhouse@intel.com> | 2012-10-09 10:03:21 -0400 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-10-09 10:04:25 -0400 |
| commit | ffe315012510165ce82e4dd4767f0a5dba9edbf7 (patch) | |
| tree | f601cd980af9d0ced5ca9aedecef4fa0d2ca0e15 /drivers/rtc/hctosys.c | |
| parent | e2d3a35ee427aaba99b6c68a56609ce276c51270 (diff) | |
| parent | 4a8e43feeac7996b8de2d5b2823e316917493df4 (diff) | |
Merge tag 'disintegrate-mtd-20121009' of git://git.infradead.org/users/dhowells/linux-headers
UAPI Disintegration 2012-10-09
Conflicts:
MAINTAINERS
arch/arm/configs/bcmring_defconfig
arch/arm/mach-imx/clk-imx51-imx53.c
drivers/mtd/nand/Kconfig
drivers/mtd/nand/bcm_umi_nand.c
drivers/mtd/nand/nand_bcm_umi.h
drivers/mtd/nand/orion_nand.c
Diffstat (limited to 'drivers/rtc/hctosys.c')
| -rw-r--r-- | drivers/rtc/hctosys.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/hctosys.c b/drivers/rtc/hctosys.c index bc90b091f195..4aa60d74004e 100644 --- a/drivers/rtc/hctosys.c +++ b/drivers/rtc/hctosys.c | |||
| @@ -22,8 +22,6 @@ | |||
| 22 | * the best guess is to add 0.5s. | 22 | * the best guess is to add 0.5s. |
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | int rtc_hctosys_ret = -ENODEV; | ||
| 26 | |||
| 27 | static int __init rtc_hctosys(void) | 25 | static int __init rtc_hctosys(void) |
| 28 | { | 26 | { |
| 29 | int err = -ENODEV; | 27 | int err = -ENODEV; |
| @@ -56,7 +54,7 @@ static int __init rtc_hctosys(void) | |||
| 56 | 54 | ||
| 57 | rtc_tm_to_time(&tm, &tv.tv_sec); | 55 | rtc_tm_to_time(&tm, &tv.tv_sec); |
| 58 | 56 | ||
| 59 | do_settimeofday(&tv); | 57 | err = do_settimeofday(&tv); |
| 60 | 58 | ||
| 61 | dev_info(rtc->dev.parent, | 59 | dev_info(rtc->dev.parent, |
| 62 | "setting system clock to " | 60 | "setting system clock to " |
