]> Git Repo - J-u-boot.git/blobdiff - cmd/cros_ec.c
dm: core: Add flags parameter to device_remove()
[J-u-boot.git] / cmd / cros_ec.c
index 9d42f870dc9a4e3ea61a7d267591a73a38b3135b..af0b4eee78388155e16be590a23ab8af5c10a83a 100644 (file)
@@ -110,7 +110,7 @@ static int do_cros_ec(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                /* Remove any existing device */
                ret = uclass_find_device(UCLASS_CROS_EC, 0, &udev);
                if (!ret)
-                       device_remove(udev);
+                       device_remove(udev, DM_REMOVE_NORMAL);
                ret = uclass_get_device(UCLASS_CROS_EC, 0, &udev);
                if (ret) {
                        printf("Could not init cros_ec device (err %d)\n", ret);
This page took 0.024504 seconds and 4 git commands to generate.