/* hibernate_nvs_free - free data pages allocated for saving NVS regions  */
void hibernate_nvs_free(void)
/* hibernate_nvs_free - free data pages allocated for saving NVS regions  */
void hibernate_nvs_free(void)
{
	struct nvs_page *entry;
	list_for_each_entry(entry, &nvs_list, node)
		if (entry->data) {
			free_page((unsigned long)entry->data);
			entry->data = NULL;
			if (entry->kaddr) {
				iounmap(entry->kaddr);
				entry->kaddr = NULL;
			}
		}
}