diff mbox series

pinctrl: ingenic: Replace seq_printf() by seq_puts()

Message ID 9a5b38027ed674ca773fe28a3b3246631eae8834.1733404358.git.geert+renesas@glider.be (mailing list archive)
State New
Headers show
Series pinctrl: ingenic: Replace seq_printf() by seq_puts() | expand

Commit Message

Geert Uytterhoeven Dec. 5, 2024, 1:13 p.m. UTC
Simplify "seq_printf(p, "%s", ...)" to "seq_puts(p, ...)".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Compile-tested only.
---
 drivers/pinctrl/pinctrl-ingenic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Dec. 17, 2024, 1:58 p.m. UTC | #1
On Thu, Dec 5, 2024 at 2:13 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> Simplify "seq_printf(p, "%s", ...)" to "seq_puts(p, ...)".
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/pinctrl/pinctrl-ingenic.c
index 31703737731bd0ee..bc7ee54e062b5b85 100644
--- a/drivers/pinctrl/pinctrl-ingenic.c
+++ b/drivers/pinctrl/pinctrl-ingenic.c
@@ -3699,7 +3699,7 @@  static void ingenic_gpio_irq_print_chip(struct irq_data *data, struct seq_file *
 {
 	struct gpio_chip *gpio_chip = irq_data_get_irq_chip_data(data);
 
-	seq_printf(p, "%s", gpio_chip->label);
+	seq_puts(p, gpio_chip->label);
 }
 
 static const struct irq_chip ingenic_gpio_irqchip = {