From patchwork Thu Aug 24 10:05:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13363951 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35E9DC6FA8F for ; Thu, 24 Aug 2023 10:06:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RRpq0r60iuO8WMlPAsyGWFRuJ5bVgGDp0/fiEeK5oOk=; b=qJVXpTC8KXFFJv mGnB33L/glUYEveaNM6VvZjoB5ziAtzcu1RxkKfmouSNjB0jPjpIeJgbi12NMVyPYl18PHh2ucsH2 xfQRTqKdb+ddpIeLZ6dGC7xYXBr2RX88OEohmld9I9xC2fCfED21iLBWOJFvKXG18XrQu8pU8ZDUF iugvef4kv06GwaRGnCjgJygUm6iR9kel+WMmEZRcrrI0c1mQ096iUVNTjCTdKcxqkOHScvMliJ/bZ 2ziRYvqfMM2g+IRZHpCeuupB8WsD7GIwKUckmCfZX4hc/cx2vbxpwNhhYaGdBi1ULflcrDXjJViJr GpIjOtKXLsUmBJgV0TJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qZ7E3-002kOU-1I; Thu, 24 Aug 2023 10:06:03 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qZ7Dy-002kNy-2I for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2023 10:06:01 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:3c6b:f703:5ab5:f36d]) by albert.telenet-ops.be with bizsmtp id dN5r2A00G01sfPQ06N5rsD; Thu, 24 Aug 2023 12:05:53 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qZ7Dh-001cx5-Dn; Thu, 24 Aug 2023 12:05:51 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qZ7Dr-000NL4-1A; Thu, 24 Aug 2023 12:05:51 +0200 From: Geert Uytterhoeven To: Linus Walleij , Jisheng Zhang , Sebastian Hesselbarth , Antoine Tenart Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH] pinctrl: berlin: Drop superfluous ampersands Date: Thu, 24 Aug 2023 12:05:50 +0200 Message-Id: <0ff17be9b31c9fcf03481c0665293b98ced741f7.1692871243.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230824_030600_129732_292C8A8E X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There is no need to use an ampersand to take the address of a function. Signed-off-by: Geert Uytterhoeven Reviewed-by: Jisheng Zhang --- drivers/pinctrl/berlin/berlin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/berlin/berlin.c b/drivers/pinctrl/berlin/berlin.c index 1e427ea4d31bcbfc..9550cc8095c28720 100644 --- a/drivers/pinctrl/berlin/berlin.c +++ b/drivers/pinctrl/berlin/berlin.c @@ -96,10 +96,10 @@ static int berlin_pinctrl_dt_node_to_map(struct pinctrl_dev *pctrl_dev, } static const struct pinctrl_ops berlin_pinctrl_ops = { - .get_groups_count = &berlin_pinctrl_get_group_count, - .get_group_name = &berlin_pinctrl_get_group_name, - .dt_node_to_map = &berlin_pinctrl_dt_node_to_map, - .dt_free_map = &pinctrl_utils_free_map, + .get_groups_count = berlin_pinctrl_get_group_count, + .get_group_name = berlin_pinctrl_get_group_name, + .dt_node_to_map = berlin_pinctrl_dt_node_to_map, + .dt_free_map = pinctrl_utils_free_map, }; static int berlin_pinmux_get_functions_count(struct pinctrl_dev *pctrl_dev)