Update "persistent_ram.c" from Moto G kernel.
src: https://github.com/MotorolaMobilityLLC/kernel-msm/commits/kitkat-mr1-release-falcon-gpe/drivers/staging/android/persistent_ram.c