| From ed38d42f0f793db4949fd5156bc485511f541d96 Mon Sep 17 00:00:00 2001 |
| From: Geert Uytterhoeven <geert+renesas@glider.be> |
| Date: Thu, 25 Apr 2019 10:51:46 +0200 |
| Subject: [PATCH] pinctrl: sh-pfc: Correct printk level of group reference |
| warning |
| |
| commit 5f304f8c87c71572da4ee514eb2ec50f8f4d2e26 upstream. |
| |
| Improve wording while at it. |
| |
| Fixes: 6161b39a14380815 ("pinctrl: sh-pfc: Validate pinmux tables at runtime when debugging") |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| Reviewed-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c |
| index 1f79762164b7..e14b81f18feb 100644 |
| --- a/drivers/pinctrl/sh-pfc/core.c |
| +++ b/drivers/pinctrl/sh-pfc/core.c |
| @@ -799,8 +799,8 @@ static void sh_pfc_check_info(const struct sh_pfc_soc_info *info) |
| info->groups[i].name); |
| sh_pfc_errors++; |
| } else if (refcnts[i] > 1) { |
| - pr_err("%s: group %s referred by %u functions\n", |
| - drvname, info->groups[i].name, refcnts[i]); |
| + pr_warn("%s: group %s referenced by %u functions\n", |
| + drvname, info->groups[i].name, refcnts[i]); |
| sh_pfc_warnings++; |
| } |
| } |
| -- |
| 2.27.0 |
| |