idevice: Simplify setting the model

This commit is contained in:
Bastien Nocera 2022-11-16 16:14:40 +01:00
parent a795750a2e
commit 4051aa8f80

View file

@ -193,7 +193,7 @@ up_device_idevice_coldplug (UpDevice *device)
"type", kind,
"serial", uuid,
"vendor", g_udev_device_get_property (native, "ID_VENDOR"),
"model", g_udev_device_get_property (native, "ID_MODEL"),
"model", model,
"power-supply", FALSE,
"is-present", FALSE,
"is-rechargeable", TRUE,