[PATCH 2/3] ARM: SAMSUNG: Let s3c_pm_do_restore_*() take const sleep_save
Tomasz Figa
t.figa at samsung.com
Mon Dec 9 08:27:30 EST 2013
Hi Daniel,
On Thursday 21 of November 2013 02:21:25 Daniel Kurtz wrote:
> The restore functions do not modify the passed in struct sleep_save,
> so that parameter can be const.
>
> This allows us to pass in const struct. This allows us to use const
> structs sleep_save to define system registers that will always be
> restored to a constant value.
>
> Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
> ---
> arch/arm/plat-samsung/include/plat/pm.h | 4 ++--
> arch/arm/plat-samsung/pm.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Tomasz Figa <t.figa at samsung.com>
Best regards,
Tomasz
More information about the linux-arm-kernel
mailing list