[PATCH 5.4 140/475] memory: emif: check the pointer temp in get_device_details()