summaryrefslogtreecommitdiff
path: root/drivers/clk/clk_stm32f7.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/clk_stm32f7.c')
-rw-r--r--drivers/clk/clk_stm32f7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c
index 68d6ba0461..96a06b8f8c 100644
--- a/drivers/clk/clk_stm32f7.c
+++ b/drivers/clk/clk_stm32f7.c
@@ -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;
}