Fix return of device_iter