[PATCH v16 2/2] mmdevapi: Reverse load_devices_from_reg() as outputs then inputs