mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: srinivas.kandagatla@linaro.org
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	Joachim Eastwood <manabian@gmail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/6] nvmem: lpc18xx-eeprom: explicitly request exclusive reset control
Date: Wed, 26 Jul 2017 11:34:43 +0200	[thread overview]
Message-ID: <20170726093448.2564-2-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <20170726093448.2564-1-srinivas.kandagatla@linaro.org>

From: Philipp Zabel <p.zabel@pengutronix.de>

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 <srinivas.kandagatla@linaro.org>
Cc: Joachim Eastwood <manabian@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 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);
-- 
2.9.3

  reply	other threads:[~2017-07-26  9:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-26  9:34 [PATCH 0/6] nvmem: fixes for next rc srinivas.kandagatla
2017-07-26  9:34 ` srinivas.kandagatla [this message]
2017-07-26  9:34 ` [PATCH 2/6] nvmem: Convert to using %pOF instead of full_name srinivas.kandagatla
2017-07-26  9:34 ` [PATCH 3/6] nvmem: rockchip-efuse: amend compatible rk322x-efuse to rk3228-efuse srinivas.kandagatla
2017-07-26  9:34 ` [PATCH 4/6] nvmem: core: Add nvmem_cell_read_u32 srinivas.kandagatla
2017-07-26  9:34 ` [PATCH 5/6] nvmem: core: remove unneeded NULL check srinivas.kandagatla
2017-07-26  9:34 ` [PATCH 6/6] nvmem: include linux/err.h from header srinivas.kandagatla
2017-08-08 11:46 ` [PATCH 0/6] nvmem: fixes for next rc Srinivas Kandagatla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170726093448.2564-2-srinivas.kandagatla@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manabian@gmail.com \
    --cc=p.zabel@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®