]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/clk/clk_stm32f7.c
treewide: replace with error() with pr_err()
[people/ms/u-boot.git] / drivers / clk / clk_stm32f7.c
index 68d6ba0461d7bfbd8d06c88e95112e05ad4f2246..96a06b8f8cb11525a18cde1ba218c08cddc54e71 100644 (file)
@@ -224,7 +224,7 @@ static unsigned long stm32_clk_get_rate(struct clk *clk)
                return sysclk >>= shift;
                break;
        default:
-               error("clock index %ld out of range\n", clk->id);
+               pr_err("clock index %ld out of range\n", clk->id);
                return -EINVAL;
                break;
        }