Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: s3c: Integrate Exynos3250 into S3C6410

There are now no differences between RTC on Exynos3250 and S3C6410.
Merge everything into one so duplicated code could be removed.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

authored by

Krzysztof Kozlowski and committed by
Alexandre Belloni
a42e6eae 73744a64

+1 -13
+1 -13
drivers/rtc/rtc-s3c.c
··· 772 772 .disable = s3c6410_rtc_disable, 773 773 }; 774 774 775 - static struct s3c_rtc_data const exynos3250_rtc_data = { 776 - .max_user_freq = 32768, 777 - .needs_src_clk = true, 778 - .irq_handler = s3c6410_rtc_irq, 779 - .set_freq = s3c6410_rtc_setfreq, 780 - .enable_tick = s3c6410_rtc_enable_tick, 781 - .save_tick_cnt = s3c6410_rtc_save_tick_cnt, 782 - .restore_tick_cnt = s3c6410_rtc_restore_tick_cnt, 783 - .enable = s3c24xx_rtc_enable, 784 - .disable = s3c6410_rtc_disable, 785 - }; 786 - 787 775 static const struct of_device_id s3c_rtc_dt_match[] = { 788 776 { 789 777 .compatible = "samsung,s3c2410-rtc", ··· 787 799 .data = (void *)&s3c6410_rtc_data, 788 800 }, { 789 801 .compatible = "samsung,exynos3250-rtc", 790 - .data = (void *)&exynos3250_rtc_data, 802 + .data = (void *)&s3c6410_rtc_data, 791 803 }, 792 804 { /* sentinel */ }, 793 805 };