]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: ep93xx: ts72xx: allow rtc-m48t86 to manage its own resources
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 15 Feb 2017 16:35:26 +0000 (09:35 -0700)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 21 Feb 2017 17:18:52 +0000 (18:18 +0100)
commit5594e88a440bb75ce6e7fe045b254503420df6d8
treead48525b326f616aa43483c48409ad9ad65ff937
parent3ea07127d9367250321df33bf9fee2ada362400c
ARM: ep93xx: ts72xx: allow rtc-m48t86 to manage its own resources

The rtc-m48t86 driver can now handle its own resources and do the
read/write operations internally.

Pass the necessary resources to the driver and remove the m48t86_ops
platform data.

Remove the, then unnecessary, static remapping for the registers.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/mach-ep93xx/ts72xx.c
arch/arm/mach-ep93xx/ts72xx.h