[PATCH 5.16 0364/1017] memory: emif: check the pointer temp in get_device_details()