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