]> git.sur5r.net Git - u-boot/blobdiff - drivers/clk/clk_boston.c
sf: add Gigadevice gd25q16c entry
[u-boot] / drivers / clk / clk_boston.c
index 78f1b759d838388a8fd293c333a856d01658f4e5..0c49ee0798bc3993b64495cb409490989e2c028e 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2016 Imagination Technologies
- *
- * SPDX-License-Identifier:    GPL-2.0
  */
 
 #include <common.h>
@@ -67,13 +66,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;
        }