Message ID | 1436337018-32464-2-git-send-email-drinkcat@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 75EC39F38C for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 8 Jul 2015 06:32:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9AC8A207FD for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 8 Jul 2015 06:32:18 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 71F2D207F9 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 8 Jul 2015 06:32:17 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 897672654FB; Wed, 8 Jul 2015 08:32:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 82EEA261B07; Wed, 8 Jul 2015 08:31:34 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0426D26528B; Wed, 8 Jul 2015 08:31:32 +0200 (CEST) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by alsa0.perex.cz (Postfix) with ESMTP id A3D3C261ACD for <alsa-devel@alsa-project.org>; Wed, 8 Jul 2015 08:31:03 +0200 (CEST) Received: by pdbdz6 with SMTP id dz6so45322275pdb.0 for <alsa-devel@alsa-project.org>; 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=TYfDX+ONflfh6fIm7tCCRBiYUqNklBsi69QBwEOf3NBRv+aACaG6j0yQD2wOzhPNjE ew9yP5VLWrDei8jaaIYvJ9VVOum8RiHpPB86C+sXCTN0mrLI6FbSI952pm+GJUbr/Jd1 UEHwFF3aSZ4jen/o5utVc8JZlVcDBlFtNKpaW4eq1mpw7C7IMjYZRjJYlWWm5NkYWIcp LZkik2ED4oM+vdyypTR8nS7zmguWzMwKy6n/N9+Svo/pevHv89mI9UpxyXWuTlGb7CmS zd4rqvXDLiEADpGV1dX0SRgrmoq/HMrIm6197cQVl76Kdw9twlUNe7LW+TU2Uz9Xy4xA 00nQ== X-Gm-Message-State: ALoCoQm3azHxCMJMvFB2AqanCnIWp+peb48imQb5+iiNzFPqfuiOaV52upHrFx32JG1IsYcs+5zR 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 <drinkcat@chromium.org> To: Mark Brown <broonie@kernel.org> 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> Cc: alsa-devel@alsa-project.org, Takashi Iwai <tiwai@suse.de>, Liviu Dudau <liviu.dudau@arm.com>, Liam Girdwood <lgirdwood@gmail.com>, Bard Liao <bardliao@realtek.com>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, Lee Jones <lee.jones@linaro.org>, Nicolas Boichat <drinkcat@chromium.org>, linux-pm@vger.kernel.org, Antti Palosaari <crope@iki.fi>, Zhang Rui <rui.zhang@intel.com>, Anatol Pomozov <anatol.pomozov@gmail.com>, Mauro Carvalho Chehab <mchehab@osg.samsung.com>, Eduardo Valentin <edubezval@gmail.com>, Lars-Peter Clausen <lars@metafoo.de>, Arjan van de Ven <arjan@linux.intel.com>, Ingo Molnar <mingo@redhat.com>, linux-arm-kernel@lists.infradead.org, Maxime Coquelin <maxime.coquelin@st.com>, Oder Chiou <oder_chiou@realtek.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org, Sudeep Holla <sudeep.holla@arm.com>, Ajit Pal Singh <ajitpal.singh@st.com> Subject: [alsa-devel] [PATCHv2 1/3] mfd: vexpress: Add parentheses around bridge->ops->regmap_init call X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
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;
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 <drinkcat@chromium.org> --- drivers/bus/vexpress-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)