]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/hi6220_dw_mmc.c
treewide: replace with error() with pr_err()
[people/ms/u-boot.git] / drivers / mmc / hi6220_dw_mmc.c
index d795198534b7724d76bddbd506c2e81f4c20bc21..44a8ef825f32c55251d69b86c9fedb677b1f7c63 100644 (file)
@@ -44,7 +44,7 @@ int hi6220_dwmci_add_port(int index, u32 regbase, int bus_width)
 
        host = calloc(1, sizeof(struct dwmci_host));
        if (!host) {
-               error("dwmci_host calloc failed!\n");
+               pr_err("dwmci_host calloc failed!\n");
                return -ENOMEM;
        }