Re: [PATCH 6/9] pinctrl: Combine substrings for a message in pin_config_group_get()

From: Andy Shevchenko
Date: Wed May 03 2017 - 13:49:31 EST


On Tue, May 2, 2017 at 12:26 PM, SF Markus Elfring
<elfring@xxxxxxxxxxxxxxxxxxxxx> wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Tue, 2 May 2017 10:22:47 +0200
>
> The script "checkpatch.pl" pointed information out like the following.
>
> WARNING: quoted string split across lines
>
> Thus fix the affected source code place.
>

Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/pinctrl/pinconf.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
> index f2168b6e3418..037ac3e47891 100644
> --- a/drivers/pinctrl/pinconf.c
> +++ b/drivers/pinctrl/pinconf.c
> @@ -87,9 +87,8 @@ int pin_config_group_get(const char *dev_name, const char *pin_group,
> ops = pctldev->desc->confops;
>
> if (!ops || !ops->pin_config_group_get) {
> - dev_dbg(pctldev->dev, "cannot get configuration for pin "
> - "group, missing group config get function in "
> - "driver\n");
> + dev_dbg(pctldev->dev,
> + "cannot get configuration for pin group, missing group config get function in driver\n");
> ret = -ENOTSUPP;
> goto unlock;
> }
> --
> 2.12.2
>



--
With Best Regards,
Andy Shevchenko