ARM: Orion5x: ts78xx: allow rtc-m48t86 to manage it's own resources
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 15 Feb 2017 16:35:25 +0000 (09:35 -0700)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 21 Feb 2017 20:22:59 +0000 (21:22 +0100)
commit8ccbd360068af1993a9359f1d31db70cf5eb8825
tree8106745279380a94625c21d1b5f507a74266be07
parent5e8bb41c514506358241c5eef09900b126190f54
ARM: Orion5x: ts78xx: allow rtc-m48t86 to manage it's own resources

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

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

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-By: Alexander Clouter <alex+kernel@digriz.org.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/mach-orion5x/ts78xx-setup.c