Re: [PATCH 2/3] ARM: SAMSUNG: Let s3c_pm_do_restore_*() take const sleep_save

2013-12-09 Thread Tomasz Figa
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

[PATCH 2/3] ARM: SAMSUNG: Let s3c_pm_do_restore_*() take const sleep_save

2013-11-20 Thread Daniel Kurtz
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