ARM: at91: pm: introduce at91_soc_pm structure
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 14 Feb 2019 15:54:31 +0000 (15:54 +0000)
committerLudovic Desroches <ludovic.desroches@microchip.com>
Thu, 28 Mar 2019 10:05:52 +0000 (11:05 +0100)
commitc3f5b8fde71f6ab15d4fd8921997d62ef98d803a
tree86d09b08c2a6e91dfff583bdcba039e2f179e779
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
ARM: at91: pm: introduce at91_soc_pm structure

To have per SoC PM information add a new structure which embed
a member of type struct at91_pm_data. This will allow easy addition
of new information without contaminate struct at91_pm_data that is
passed to the last phase suspend function (at91_suspend_sram_fn).

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
arch/arm/mach-at91/pm.c