[PATCH V2 3/3] cpufreq: add suspend/resume support in Armada 37xx DVFS driver

Miquel Raynal miquel.raynal at bootlin.com
Tue Apr 24 02:10:46 PDT 2018


Hi Viresh,

On Tue, 24 Apr 2018 11:37:36 +0530, Viresh Kumar
<viresh.kumar at linaro.org> wrote:

> From: Miquel Raynal <miquel.raynal at bootlin.com>
> 
> Add suspend/resume hooks in Armada 37xx DVFS driver to handle S2RAM
> operations. As there is currently no 'driver' structure, create one
> to store both the regmap and the register values during suspend
> operation.
> 
> A syscore_ops is used to export the suspend/resume hooks.

I think you can remove this line too since there is no more syscore_ops.

> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>

Regards,
Miquèl

-- 
Miquel Raynal, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the linux-arm-kernel mailing list