[PATCH 4.9 068/218] memory: emif: check the pointer temp in get_device_details()