• Rob Herring's avatar
    rtc: pxa: convert to use shared sa1100 functions · 3cdf4ad9
    Rob Herring authored
    Currently, the rtc-sa1100 and rtc-pxa drivers co-exist as rtc-pxa has a
    superset of functionality. Having 2 drivers sharing the same memory
    resource is not allowed by the driver model if resources are properly
    declared. This problem was avoided by not adding memory resources to the
    SA1100 RTC driver, but that prevents clean-up of the SA1100 driver.
    
    This commit converts the PXA RTC to use the exported SA1100 RTC
    functions. Now the sa1100-rtc and pxa-rtc devices are mutually
    exclusive, so we must remove the sa1100-rtc from pxa27x and pxa3xx.
    Signed-off-by: default avatarRob Herring <robh@kernel.org>
    Cc: Daniel Mack <daniel@zonque.org>
    Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
    Cc: Robert Jarzmik <robert.jarzmik@free.fr>
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: rtc-linux@googlegroups.com
    Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
    3cdf4ad9
pxa3xx.c 9.46 KB