From: Philipp Zabel Subject: [PATCH 013/102] crypto: rockchip: explicitly request exclusive reset control Date: Wed, 19 Jul 2017 17:25:17 +0200 Message-ID: <20170719152646.25903-14-p.zabel@pengutronix.de> References: <20170719152646.25903-1-p.zabel@pengutronix.de> Cc: Philipp Zabel , Herbert Xu , "David S. Miller" , Heiko Stuebner , linux-crypto@vger.kernel.org, linux-rockchip@lists.infradead.org To: linux-kernel@vger.kernel.org Return-path: In-Reply-To: <20170719152646.25903-1-p.zabel@pengutronix.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.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: Herbert Xu Cc: "David S. Miller" Cc: Heiko Stuebner Cc: linux-crypto@vger.kernel.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Philipp Zabel --- drivers/crypto/rockchip/rk3288_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/rockchip/rk3288_crypto.c b/drivers/crypto/rockchip/rk3288_crypto.c index d0f80c6241f95..fdfd1f02911e9 100644 --- a/drivers/crypto/rockchip/rk3288_crypto.c +++ b/drivers/crypto/rockchip/rk3288_crypto.c @@ -294,7 +294,7 @@ static int rk_crypto_probe(struct platform_device *pdev) goto err_crypto; } - crypto_info->rst = devm_reset_control_get(dev, "crypto-rst"); + crypto_info->rst = devm_reset_control_get_exclusive(dev, "crypto-rst"); if (IS_ERR(crypto_info->rst)) { err = PTR_ERR(crypto_info->rst); goto err_crypto; -- 2.11.0