[PATCH-next] lnst.Devices: edit cleanup method in Device