From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Mon, 1 May 2017 22:42:13 +0200 Some text was put into a sequence by two separate function calls. Print the same data by a single function call instead. Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> --- drivers/pinctrl/pinconf.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c index 1a3fbdf81ecb..a14ae8601b39 100644 --- a/drivers/pinctrl/pinconf.c +++ b/drivers/pinctrl/pinconf.c @@ -307,9 +307,9 @@ static int pinconf_pins_show(struct seq_file *s, void *what) struct pinctrl_dev *pctldev = s->private; unsigned i, pin; - seq_puts(s, "Pin config settings per pin\n"); - seq_puts(s, "Format: pin (name): configs\n"); - + seq_puts(s, + "Pin config settings per pin\n" + "Format: pin (name): configs\n"); mutex_lock(&pctldev->mutex); /* The pin number can be retrived from the pin controller descriptor */ @@ -352,8 +352,9 @@ static int pinconf_groups_show(struct seq_file *s, void *what) unsigned ngroups = pctlops->get_groups_count(pctldev); unsigned selector = 0; - seq_puts(s, "Pin config settings per pin group\n"); - seq_puts(s, "Format: group (name): configs\n"); + seq_puts(s, + "Pin config settings per pin group\n" + "Format: group (name): configs\n"); while (selector < ngroups) { const char *gname = pctlops->get_group_name(pctldev, selector); -- 2.12.2 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html