treewide: replace with error() with pr_err()
[platform/kernel/u-boot.git] / drivers / clk / clk_boston.c
index 78f1b75..5c05e3d 100644 (file)
@@ -67,13 +67,13 @@ static int clk_boston_ofdata_to_platdata(struct udevice *dev)
        err = uclass_get_device_by_phandle(UCLASS_SYSCON, dev,
                                           "regmap", &syscon);
        if (err) {
-               error("unable to find syscon device\n");
+               pr_err("unable to find syscon device\n");
                return err;
        }
 
        state->regmap = syscon_get_regmap(syscon);
        if (!state->regmap) {
-               error("unable to find regmap\n");
+               pr_err("unable to find regmap\n");
                return -ENODEV;
        }