From patchwork Wed Jul 26 09:34:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9864473 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A70796038F for ; Wed, 26 Jul 2017 09:35:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 905C12872F for ; Wed, 26 Jul 2017 09:35:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84EA628742; Wed, 26 Jul 2017 09:35:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DD4632872F for ; Wed, 26 Jul 2017 09:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Ru3f70UJLmx6nEvbk2uem9Vv/AWUHh8EHYhaoYVOXHQ=; b=jQqY5s4k61NDxOgV83LCwnMPh3 MO4D10e5MGep491FXA6nqov77weL2UtTQWTlfKDd7b/8K7xi8kNgAXH93vuHnTzqrA2vjVkNYmv0D O9Guo/YU9W7J/vCbaXVIGIZYb49Cl4wo/gZJsip1M5qiN9AtGYRxrs2qQ+345V8lwnQb4pYh+37NU zXGV5dSs4HirRnw1F228CJNaFz8+xqBpepyntB0p9nif3ZHBusY8zDZUJfBin9g65DP0E1j/RAEqe KR9QFied2/eJXsbupPhSoFjajvfgXeDyPbDHiW4iCJk4+v46pznHJkNS5ZjWdaQYx2u2th9jZ2cXs wlMA5seA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1daIiu-0006Od-9V; Wed, 26 Jul 2017 09:35:20 +0000 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1daIiq-00059g-87 for linux-arm-kernel@lists.infradead.org; Wed, 26 Jul 2017 09:35:18 +0000 Received: by mail-io0-x22f.google.com with SMTP id l7so65971949iof.1 for ; Wed, 26 Jul 2017 02:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ytuFX65f8z+G2+F9s5sSm5KtuW2kY7Pbx2wfsLXWB5w=; b=VqktfX55MtqdqJT/Q8hpVUtfu/6S4j837qQYBpGIKxXDF/rX3WK5wuyiABJ6zjy7+1 Ladk1ll5XF9TO3o6p4S/g2FOuyA7Gml/owBgxXBN/X6PdNyxcAiLWK6IRgcjRXrTiQxO urQnlME8SM8rDEm77DqPc2WIkz7D7ou/PRZ4E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ytuFX65f8z+G2+F9s5sSm5KtuW2kY7Pbx2wfsLXWB5w=; b=bc7Dgz4dh86xZLCK2paSZy8XbuJdUn8ObtxxueZx8Mduq50tB0m2y0GS7dZjBMz9r9 JuMwwwr9lOlpaMNOlRWEDr/2Vx90nXkJcXasRy+4AVceC4hO1tSSLn6flcbVdGlm9S8k GRaib0rH8LLHxo+Vaxt+zRNkx3ePBsiFJBmp6IulTccqQNwVvaHdX/6JrX3WJTMJnMFu xhv8Z+d125o3RmNSslQjgOEh8Z5p36zbEVbjj7zwnl3BMeX1nzgVx32SylNEu3Y8VCct KJNjdDFjh6wfxVHMrQVqm1w52l0G+7JJA6/mh8e3S82/aQPas/2khN7b/Q7gUwQMUTYT 0jZA== X-Gm-Message-State: AIVw1101JBp+0fogY7Q3e5+SOa296GF81QW9PfIorETSKf1EvSlER6yL 8lgblP5vf7F6Ww76 X-Received: by 10.107.15.32 with SMTP id x32mr323763ioi.168.1501061694465; Wed, 26 Jul 2017 02:34:54 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id c195sm7837169ioe.42.2017.07.26.02.34.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Jul 2017 02:34:54 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Greg Kroah-Hartman Subject: [PATCH 1/6] nvmem: lpc18xx-eeprom: explicitly request exclusive reset control Date: Wed, 26 Jul 2017 11:34:43 +0200 Message-Id: <20170726093448.2564-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170726093448.2564-1-srinivas.kandagatla@linaro.org> References: <20170726093448.2564-1-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170726_023516_352353_540AF1AE X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, Joachim Eastwood , Srinivas Kandagatla , linux-kernel@vger.kernel.org, Philipp Zabel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Philipp Zabel 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: Srinivas Kandagatla Cc: Joachim Eastwood Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Philipp Zabel Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/lpc18xx_eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvmem/lpc18xx_eeprom.c b/drivers/nvmem/lpc18xx_eeprom.c index c81ae4c..6c7e2c4 100644 --- a/drivers/nvmem/lpc18xx_eeprom.c +++ b/drivers/nvmem/lpc18xx_eeprom.c @@ -197,7 +197,7 @@ static int lpc18xx_eeprom_probe(struct platform_device *pdev) return ret; } - rst = devm_reset_control_get(dev, NULL); + rst = devm_reset_control_get_exclusive(dev, NULL); if (IS_ERR(rst)) { dev_err(dev, "failed to get reset: %ld\n", PTR_ERR(rst)); ret = PTR_ERR(rst);