Message ID | 1436337018-32464-3-git-send-email-drinkcat@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 46998C05AC for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 8 Jul 2015 06:33:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 687AF207F6 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 8 Jul 2015 06:33:36 +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 8DF1B207FB for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 8 Jul 2015 06:33:35 +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 1ZCitJ-0007C8-NZ; Wed, 08 Jul 2015 06:31:33 +0000 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCitH-00077D-1O for linux-arm-kernel@lists.infradead.org; Wed, 08 Jul 2015 06:31:31 +0000 Received: by pddu5 with SMTP id u5so52435666pdd.3 for <linux-arm-kernel@lists.infradead.org>; Tue, 07 Jul 2015 23:31:09 -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=/80K0XHrzpyYEUhBjTsBGvXk5I5FWMckJfjt2m4eAks=; b=GY2GD2cyJMl373iIw5vHMkFLpIp1Do7DYDZVejOHM30LS/315e3sXMYWvh15d5kGwH cqHFRqqZTylKYs1ht7OqCgBX5ze86bzYEToQyFFXMqcjv6Ha4+tcJGo6XYpk/sF9NtOj pvSj+uBcf1o+dNKYAteAIPqjGCzq7WnuCFABY= 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=/80K0XHrzpyYEUhBjTsBGvXk5I5FWMckJfjt2m4eAks=; b=gAlx49+kez6Ak5FlFiXBzW87/1Sqyy5KG1ktlrAooL/hNjyCNoByX4hajs+yxvxWR4 IfzmMXgcoMS3MhgBFGzsd21fKMRnqZy0cNwSEQQKZzc5zkEF7IhvieHW9xl16RYwFQOW vWwuh7qn6+Q9As9/8AXNmvgdytkj4Naw7aENru0rlIESCXl7XPTNwcrInAtUtAVsko9J zRwfvCiOG5qsOVpWzkCa3/E4c8OViHuP1MCUk1uDVQ7Hk6WktZ50g7IQ/sGdgxjOhAef 9TQ6j2eLWxf0bMsyD+mQtVAacXIET0ieoLYhC1n9v7FkiTtPfusMwth4hNFYMAyTlAKs yyZQ== X-Gm-Message-State: ALoCoQk4lkScXW1xJdLkYTGzxjKwM8fLfuQqcxEGINxxRS7d1bsnyomotMV/vOxEXeH1pi/Ue/KO X-Received: by 10.68.135.73 with SMTP id pq9mr17160738pbb.46.1436337069522; Tue, 07 Jul 2015 23:31:09 -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.31.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jul 2015 23:31:08 -0700 (PDT) From: Nicolas Boichat <drinkcat@chromium.org> To: Mark Brown <broonie@kernel.org> Subject: [PATCHv2 2/3] thermal: sti: Add parentheses around bridge->ops->regmap_init call Date: Wed, 8 Jul 2015 14:30:17 +0800 Message-Id: <1436337018-32464-3-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_233131_112471_E3503EDB X-CRM114-Status: GOOD ( 12.74 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> 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>, Jaroslav Kysela <perex@perex.cz>, 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> 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 |
diff --git a/drivers/thermal/st/st_thermal.c b/drivers/thermal/st/st_thermal.c index 76c515d..88c759d 100644 --- a/drivers/thermal/st/st_thermal.c +++ b/drivers/thermal/st/st_thermal.c @@ -214,7 +214,7 @@ int st_thermal_register(struct platform_device *pdev, sensor->ops = sensor->cdata->ops; - ret = sensor->ops->regmap_init(sensor); + ret = (sensor->ops->regmap_init)(sensor); if (ret) return ret;
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/thermal/st/st_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)