From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Zabel Subject: [PATCH 033/102] Input: tegra-kbc - request exclusive reset control Date: Wed, 19 Jul 2017 17:25:37 +0200 Message-ID: <20170719152646.25903-34-p.zabel@pengutronix.de> References: <20170719152646.25903-1-p.zabel@pengutronix.de> Return-path: In-Reply-To: <20170719152646.25903-1-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Philipp Zabel , Rakesh Iyer , Laxman Dewangan , Dmitry Torokhov , Thierry Reding , Jonathan Hunter , linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert all drivers requesting exclusive resets to the explicit API call so the temporary transition helpers can be removed. No functional changes. Cc: Rakesh Iyer Cc: Laxman Dewangan Cc: Dmitry Torokhov Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Signed-off-by: Philipp Zabel --- drivers/input/keyboard/tegra-kbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index 0c07e1023a469..c42c825dd982b 100644 --- a/drivers/input/keyboard/tegra-kbc.c +++ b/drivers/input/keyboard/tegra-kbc.c @@ -665,7 +665,7 @@ static int tegra_kbc_probe(struct platform_device *pdev) return PTR_ERR(kbc->clk); } - kbc->rst = devm_reset_control_get(&pdev->dev, "kbc"); + kbc->rst = devm_reset_control_get_exclusive(&pdev->dev, "kbc"); if (IS_ERR(kbc->rst)) { dev_err(&pdev->dev, "failed to get keyboard reset\n"); return PTR_ERR(kbc->rst); -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755545AbdGSPw1 (ORCPT ); Wed, 19 Jul 2017 11:52:27 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:42413 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932663AbdGSP2i (ORCPT ); Wed, 19 Jul 2017 11:28:38 -0400 From: Philipp Zabel To: linux-kernel@vger.kernel.org Cc: Philipp Zabel , Rakesh Iyer , Laxman Dewangan , Dmitry Torokhov , Thierry Reding , Jonathan Hunter , linux-input@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 033/102] Input: tegra-kbc - request exclusive reset control Date: Wed, 19 Jul 2017 17:25:37 +0200 Message-Id: <20170719152646.25903-34-p.zabel@pengutronix.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170719152646.25903-1-p.zabel@pengutronix.de> References: <20170719152646.25903-1-p.zabel@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert all drivers requesting exclusive resets to the explicit API call so the temporary transition helpers can be removed. No functional changes. Cc: Rakesh Iyer Cc: Laxman Dewangan Cc: Dmitry Torokhov Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-input@vger.kernel.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Philipp Zabel --- drivers/input/keyboard/tegra-kbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index 0c07e1023a469..c42c825dd982b 100644 --- a/drivers/input/keyboard/tegra-kbc.c +++ b/drivers/input/keyboard/tegra-kbc.c @@ -665,7 +665,7 @@ static int tegra_kbc_probe(struct platform_device *pdev) return PTR_ERR(kbc->clk); } - kbc->rst = devm_reset_control_get(&pdev->dev, "kbc"); + kbc->rst = devm_reset_control_get_exclusive(&pdev->dev, "kbc"); if (IS_ERR(kbc->rst)) { dev_err(&pdev->dev, "failed to get keyboard reset\n"); return PTR_ERR(kbc->rst); -- 2.11.0