From patchwork Wed Jul 8 06:30:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Boichat X-Patchwork-Id: 6740791 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 16613C05AC for ; Wed, 8 Jul 2015 06:33:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3C95C207F9 for ; Wed, 8 Jul 2015 06:33:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6BF3F207F6 for ; Wed, 8 Jul 2015 06:33:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCitB-000792-Ja; Wed, 08 Jul 2015 06:31:25 +0000 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCit9-00076S-Fa for linux-arm-kernel@lists.infradead.org; Wed, 08 Jul 2015 06:31:23 +0000 Received: by pdrg1 with SMTP id g1so8481803pdr.2 for ; Tue, 07 Jul 2015 23:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=prbwv9PpiHBxrc7sM+X1+N148PvoYvb++LfxZupsACM=; b=Wx4aPZbEyEtVJgMpmISxkGdC0TTJR7nula2l2IK80Nam9JrJ5xyOQ9aG1bxKcm/h52 4PGgWZBWauS7toyuM4VDOmWItF5A8cOkdEpxKgcPfAgIddqC95piK2jKiJUAqKAIrjTD A3QZ/Oh4JmBC5zY2WEhNBqdTkRBwr+S5EUd+k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=prbwv9PpiHBxrc7sM+X1+N148PvoYvb++LfxZupsACM=; b=bU4ofwcL3SpNzcrP0miYFHqCS22ObeDWKB+AEkJn6WbYtVJrFSC2JHEC87ul1us6y4 1vws9H7un+4tFB8p0k9gJ9NOCtW1g0BWhbuK+r9uf2+YwuX1yapnYzm+zHhaJSF5gB/3 awp32thMM/tTcVp2eSCRsCUzYML2d82hZNbaVt2W1rlbxTu85iTuxHpxBwpkLkhbx1pN xUJFsdTey02OI8ux3VfoStxZvGhRuMajkMXMRf9MywfLqZfi2g5O3a3V4T9fc9/H7EYd gvI/muAgUSQBrTG1YhGQTsfPtIbghw+QFqcLGvlAbWOsM+q02xdJ8rVqhuRwt3NaeZmj H+Ag== X-Gm-Message-State: ALoCoQmlSMs3TYmlW9z4VPaYTEvafWAazwJPYqdBt2s7kDdmLwBZcer1XgcqpmOTrJh70EB1Q7Wf X-Received: by 10.66.65.162 with SMTP id y2mr16986500pas.101.1436337062647; Tue, 07 Jul 2015 23:31:02 -0700 (PDT) Received: from drinkcat.tpe.corp.google.com ([172.30.210.53]) by smtp.gmail.com with ESMTPSA id oe10sm1186066pdb.19.2015.07.07.23.30.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jul 2015 23:31:02 -0700 (PDT) From: Nicolas Boichat To: Mark Brown Subject: [PATCHv2 1/3] mfd: vexpress: Add parentheses around bridge->ops->regmap_init call Date: Wed, 8 Jul 2015 14:30:16 +0800 Message-Id: <1436337018-32464-2-git-send-email-drinkcat@chromium.org> X-Mailer: git-send-email 2.4.3.573.g4eafbef In-Reply-To: <1436337018-32464-1-git-send-email-drinkcat@chromium.org> References: <1436337018-32464-1-git-send-email-drinkcat@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150707_233123_548223_2C631D8E X-CRM114-Status: GOOD ( 12.91 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Takashi Iwai , Liviu Dudau , Liam Girdwood , Bard Liao , Lorenzo Pieralisi , Lee Jones , Nicolas Boichat , linux-pm@vger.kernel.org, Antti Palosaari , Zhang Rui , Anatol Pomozov , Mauro Carvalho Chehab , Eduardo Valentin , Lars-Peter Clausen , Jaroslav Kysela , Arjan van de Ven , Ingo Molnar , linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Oder Chiou , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Sudeep Holla , Ajit Pal Singh MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP regmap_init(...) is a macro since commit "regmap: Use different lockdep class for each regmap init call". That same name is used as a function pointer: prevent its expansion by adding parentheses around the function pointer. Signed-off-by: Nicolas Boichat --- drivers/bus/vexpress-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/vexpress-config.c b/drivers/bus/vexpress-config.c index a64763b..6575c0f 100644 --- a/drivers/bus/vexpress-config.c +++ b/drivers/bus/vexpress-config.c @@ -107,7 +107,7 @@ struct regmap *devm_regmap_init_vexpress_config(struct device *dev) if (!res) return ERR_PTR(-ENOMEM); - regmap = bridge->ops->regmap_init(dev, bridge->context); + regmap = (bridge->ops->regmap_init)(dev, bridge->context); if (IS_ERR(regmap)) { devres_free(res); return regmap;