[PATCH 4.19 103/338] memory: emif: check the pointer temp in get_device_details()