/* Run through the list of registers given, saving their contents in the array for later restoration when we wakeup.  */
void s3c_pm_do_save(struct sleep_save *ptr, int count)
/* Run through the list of registers given, saving their contents in the array for later restoration when we wakeup.  */
void s3c_pm_do_save(struct sleep_save *ptr, int count)
{
	for (; count > 0; count--, ptr++) {
		ptr->val = __raw_readl(ptr->reg);
		S3C_PMDBG("saved %p value %08lx\n", ptr->reg, ptr->val);
	}
}