[PATCH 4.14 085/284] memory: emif: check the pointer temp in get_device_details()