diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-08-29 15:30:07 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-09-02 10:14:21 +0200 |
commit | 090e6fea5f5ed26643559c5f871bd1f6e748e4d0 (patch) | |
tree | 353d06897c18e63f7c402fb64a4828218c7d87d8 /drivers/pinctrl/pinmux.c | |
parent | c25478419f6fd3f74c324a21ec007cf14f2688d7 (diff) | |
download | lwn-090e6fea5f5ed26643559c5f871bd1f6e748e4d0.tar.gz lwn-090e6fea5f5ed26643559c5f871bd1f6e748e4d0.zip |
pinctrl: Join split messages and remove double whitespace
Splitting error messages across multiple lines makes it harder to find
them in the kernel sources. Fix this by joining the messages.
Remove double whitespace (end of first line + begin of second line).
Fixes: 1c8e794432c2ee75 ("pinctrl: improve warning messages")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/c8e3feeedbf42a130936a5afaea0f129bcda51f6.1724938156.git.geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinmux.c')
-rw-r--r-- | drivers/pinctrl/pinmux.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c index aae71a37219b..02033ea1c643 100644 --- a/drivers/pinctrl/pinmux.c +++ b/drivers/pinctrl/pinmux.c @@ -442,8 +442,7 @@ int pinmux_enable_setting(const struct pinctrl_setting *setting) gname = pctlops->get_group_name(pctldev, setting->data.mux.group); dev_err_probe(pctldev->dev, ret, - "could not request pin %d (%s) from group %s " - " on device %s\n", + "could not request pin %d (%s) from group %s on device %s\n", pins[i], pname, gname, pinctrl_dev_get_name(pctldev)); goto err_pin_request; @@ -526,9 +525,7 @@ void pinmux_disable_setting(const struct pinctrl_setting *setting) gname = pctlops->get_group_name(pctldev, setting->data.mux.group); dev_warn(pctldev->dev, - "not freeing pin %d (%s) as part of " - "deactivating group %s - it is already " - "used for some other setting", + "not freeing pin %d (%s) as part of deactivating group %s - it is already used for some other setting", pins[i], desc->name, gname); } } |