ARM: at91: pm: find and remap the pmc
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 29 Sep 2015 23:31:34 +0000 (01:31 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 17 Feb 2016 16:53:01 +0000 (17:53 +0100)
commit5737b73e193ba9d09286b621eecd9db3f3c6abd2
treed8b39d7ec9a23e434d5efc7a148ccfecd7177ac6
parent997ff83b55c3f50cd5179b9d02d37429064b35eb
ARM: at91: pm: find and remap the pmc

To avoid relying on at91_pmc_read(), find the pmc node and remap it
locally.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
arch/arm/mach-at91/pm.c