]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/core/uclass.c
dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list
[karo-tx-uboot.git] / drivers / core / uclass.c
index 5c4a66dd8cf6e9616e917e8ba1d1bdc64cdb8e17..f63ff599a69bac8ded6f48ab15acfbf12eae5f54 100644 (file)
@@ -435,7 +435,7 @@ err:
        return ret;
 }
 
-#ifdef CONFIG_DM_DEVICE_REMOVE
+#if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE)
 int uclass_unbind_device(struct udevice *dev)
 {
        struct uclass *uc;
@@ -515,7 +515,7 @@ int uclass_post_probe_device(struct udevice *dev)
        return 0;
 }
 
-#ifdef CONFIG_DM_DEVICE_REMOVE
+#if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE)
 int uclass_pre_remove_device(struct udevice *dev)
 {
        struct uclass_driver *uc_drv;