From patchwork Thu Dec 5 13:13:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13895225 Received: from andre.telenet-ops.be (andre.telenet-ops.be [195.130.132.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D3D2E56C for ; Thu, 5 Dec 2024 13:13:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733404401; cv=none; b=PRdLpGz09/OKCPXvWJBvInx7LZVmsz1OrpdDNbMXZmvwS5euISrsDkHjaX9oPV0BDIUPwpTlcpf1TWGgof+VRKdBgL/1itjAa5aQjmt9M2OfQwVSHnFpvMqtQMNHhhdKIQS/TJml9Sjocqrnf/KBr07qhmYAwtRq66jgMwXmyzE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733404401; c=relaxed/simple; bh=dDbW9KLhmOx+wIfqjCyw7iAjYkiy4o2x6EZyg8tiVXQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GK+1Jj35IW2Xx0jPb5rbK/I9E08mhNOvix3vlvosCVv0EanEOjyLXhBEd6cOf+aVejU/yBf4YECnWvZU+VUVzXhbwllb29jYNnJi7rnDgindxVbzizRyoBIk9cucWs6Zmc3ebcLFXtelYzyJXc7zh4u6jkOXxlmUeSDOMBOAV9c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:b16a:6561:fa1:2b32]) by andre.telenet-ops.be with cmsmtp id l1DB2D0063EEtj2011DBbV; Thu, 05 Dec 2024 14:13:11 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1tJBfK-000LQH-Dq; Thu, 05 Dec 2024 14:13:11 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1tJBfL-00EQXW-5Z; Thu, 05 Dec 2024 14:13:11 +0100 From: Geert Uytterhoeven To: Paul Cercueil , Linus Walleij Cc: linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] pinctrl: ingenic: Replace seq_printf() by seq_puts() Date: Thu, 5 Dec 2024 14:13:10 +0100 Message-Id: <9a5b38027ed674ca773fe28a3b3246631eae8834.1733404358.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Simplify "seq_printf(p, "%s", ...)" to "seq_puts(p, ...)". Signed-off-by: Geert Uytterhoeven --- Compile-tested only. --- drivers/pinctrl/pinctrl-ingenic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {