diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-11-16 16:14:40 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-11-16 16:14:40 +0100 |
commit | 4051aa8f80c2d2710b028d69c6d9e49b4b665c26 (patch) | |
tree | e0833cafe69afdb8ba5d15388e2ae658c8ef1755 | |
parent | a795750a2e137e51258105b4f68a24829030df25 (diff) |
idevice: Simplify setting the model
-rw-r--r-- | src/linux/up-device-idevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/up-device-idevice.c b/src/linux/up-device-idevice.c index dad245c..cc65c44 100644 --- a/src/linux/up-device-idevice.c +++ b/src/linux/up-device-idevice.c @@ -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, |